Skip to content

Latest commit

 

History

History
132 lines (119 loc) · 21 KB

README.md

File metadata and controls

132 lines (119 loc) · 21 KB

Apache NetBeans textmate files

This repository is a collection of textmate files to add them easily to NetBeans, to add basic syntax highlighting for a lot of languages. Over 50 languages are supported. Apache NetBeans >= 12.0 is required. I know that the GUI was implemented earlier, so you can also try 11.3 but on your own risk.

Those files where copied from differnet places, most of the time from the repos, that created similiar plugins for VS Code.

How to use:

  1. Move the folder supported languages to whereever you want.

  2. Open the textmate-description.json file of this repository.

  3. Change the paths to the correct folders/files (Depends on your system).

  4. Take the JSON and minify it e.g. here.

  5. If available, open the client.properties (NetBeans related) file which is located here:

    Windows

     %userprofile%\AppData\Roaming\NetBeans\YourNetBeansVersion\config\Preferences\org\netbeans\modules\lsp
    

    Linux

     $HOME/.netbeans/YourNetBeansVersion/config/Preferences/org/netbeans/modules/lsp
    

    MacOS

     $HOME/Library/Application\ Support/NetBeans/YourNetBeansVersion/config/Preferences/org/netbeans/modules/lsp
    
  6. If the folder and the file is not available (happens when you start NetBeans the first time and never touched the language server options), create the missing folder and the missing properties file and add this line to it language.descriptions=[]

  7. Replace the array with your minified version.

  8. Restart NetBeans.

  9. After restarting NetBeans, go to Options -> Editors (You need to have one Project open to see this Tab) -> Language Servers.

  10. You should see now all added languages.

  11. To apply them to NetBeans, select one language in the table, click on edit, click on ok.

  12. Click apply inside the options.

  13. Wait couple of seconds until NetBeans responded again.

  14. Click ok.

  15. Done.

Screenshot

screenshot

Legend

❌ - Known Problems, tickets already created.

Some languages are also just embedded languages like handlebars or silverstripe or others, those are not well supported, because the implementation doesn't know the language around that

Collected languages: