Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to set unix/bash as default language on notepad++ 6.5.5

when going in settings> preferences> new document, which language should I chose to create Unix scripts (*.sh *.bsh). I know that a solution is to chose the format when saving, but it's kinda annoying... thanks!

like image 973
morgan Avatar asked Apr 01 '14 10:04

morgan


People also ask

How do I change the language on notepad?

Step 2:- In notepad++ click on Settings menu. Step 4:- Select Localization on the General tab. Step 5:- Choose your prefered language in the pulldown menu displaying the languages. I hope above information will be useful for you.

Is Unix bash a language?

Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell.

How do I run a shell script in Notepad ++?

You can do this by hitting Ctrl+Alt+Shift+Del. If the Shell extension is already installed, the Notepad++ installer cannot update or overwrite it, you first have to uninstall it and restart Explorer. If you issue the install command for the dll, which is regsvr32 /i NppShell_01.


2 Answers

At the bottom of Notepad++ -status bar- you will see that 7th and 8th columns are describing the format of the file you are editing. enter image description here

double click on the 7th one and select "Unix(LF)" for the 8th one Go To: Encoding -> Encode in UTF-8

like image 182
Alper t. Turker Avatar answered Oct 18 '22 02:10

Alper t. Turker


Format: Unix/OSX

Default language: Shell

Encoding: UTF-8 without BOM

like image 25
Josh Jolly Avatar answered Oct 18 '22 04:10

Josh Jolly