English 中文(简体)
您如何在附注pad++中为用户界定的档案类型设定表格环境?
原标题:How do you setup tab settings for user defined file types in notepad++?
  • 时间:2011-05-18 22:51:41
  •  标签:
  • notepad++

I m试图设置“灯塔”++,以便能够编辑特定源代码(*.mrc / mIRC 成文文档)。 我可以列举的唯一一点是,如何将禁忌环境设定到3个空间。

然而,我看不到如何这样做。 我的搜索使我了解我所设计的用户定义语言的程度,我已经做了大量工作。 这是最后的步骤。

When I add my user-defined file type to notepad++, the extension doesn t register in the Settings > Preferences > Language Menus tab. >:/

最佳回答

您可以永远编辑<条码>。 它包含这样的法典:

<Language name="batch" ext="bat cmd nt" commentLine="REM">
    <Keywords name="instre1">rem set if else exist errorlevel for in do break call copy chcp cd chdir choice cls country ctty date del erase dir echo exit goto loadfix loadhigh mkdir md move path pause prompt rename ren rmdir rd shift time type ver verify vol com con lpt nul defined not errorlevel cmdextversion</Keywords>
</Language>
问题回答

I ended up changing the "Default" tab spacing to what I use the most, and most of the other files I work with are already explicitly defined in the application.

我知道这个问题是老的。

这就是你如何改变:

  1. Open Notepad++ settings dialog. There click on Language.
  2. On the right section where it says Tabs select the language.
  3. Uncheck Use default.
  4. On Tab size click on the blue number. In the dialog change the number to your likings and close them.
  5. Check Replace with spaces if needed.




相关问题
Text editor with autocomplete while typing normal text

There s a lot of Text editors which support autocomplete during programming, but I want one which can autocomplete while typing normal text as I see a lot of repetition of words I type. Any emacs fans ...

Excel - Highlight active row

Wondering if there is some preference I can set in excel so that when I am in a specific cell the entire row is slightly highlighted (not overly so but enough to easily tell it out) Similar to the ...

executing gcc from notepad++?

How would I compile a file through notepad++, is there away i can invoke the compiler (gcc) and pass through the file onto gcc? i have gcc in C:Program Filesgcc

Notepad++ IDL Syntax Highlighting? [closed]

I was about to create a user-defined language file for Notepad++ to syntax-highlight IDL (Interactive Data Language). But before I went and spent the time creating one, I wanted to check with the &...

热门标签