Skip to content

Chris2011/netbeans-textmate-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

A collection of textmate files for NetBeans

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published