How does one set the tab width in komodo edit?

廉价感情. 提交于 2020-01-03 13:07:06

问题


This is rathee simple done in emacs or nedit, but I could not find how to setup tab width in komodo edit (I use 7.1). Thanks.


回答1:


Komodo has a bug in the setting "Allow file contents to override tab settings". Here is the fix:

Go to: Preferences->Editor->Indentation. From this screen. Turn off "Allow file contents to override tab settings" as this is very buggy and can cause Komodo to over-ride your settings (hence the need to change the per-file-setting in other people's solutions)

From this screen check all other tab settings, and check the per-language settings in the drop down.

Now close all files and after re-opening them the settings should now take effect permanently. This is a better solution as you will no longer have to go to each file and constantly reset the per-file indent settings.




回答2:


Go to the preferences page.

Depending on your display style - GTK style I think, the plus sign or what it is in front of the entry "editor" might be unvisible.

Either double click on "editor" to show the subtree, click into the free space in front of it (like sinking submarines), or search for indent or tab in the search bar.

There you will find the indentation setup details.



来源:https://stackoverflow.com/questions/14274674/how-does-one-set-the-tab-width-in-komodo-edit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!