Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make notepad++ NOT to replace spaces for TAB?

Tags:

tabs

notepad++

How to make notepad++ NOT to replace spaces for TAB?

Simultaneously, I wish it use TAB if I press TAB.

like image 684
Dims Avatar asked May 12 '15 15:05

Dims


People also ask

How do you convert spaces to tabs in Notepad++?

Change Tab settings in Notepad++ Click on the blue number besides Tab size. Enter new tab size in the small pop-up. Click Enter to change the default tab size in Notepad++. You can also check the Replace by space check box to tell Notepad++ to replace tabs with spaces.


1 Answers

In the Menu: Settings > Preferences > Tab Settings

set "Replace by space" to OFF for the currently used language.

According to your comment i understand you say "Replace by space" is OFF already. But maybe not for the currently used language.

E.g. if you have opened a python file (or selected "python" as language), and "Replace by space" is OFF for the "[Default]", but ON for python, it still would replace Tabs by spaces.

like image 143
kca Avatar answered Nov 23 '22 14:11

kca