Closed raghucssit closed 9 months ago
Please consider installing shellwax https://github.com/eclipse/shellwax for Bash support in Eclipse IDE.
Please consider installing shellwax https://github.com/eclipse/shellwax for Bash support in Eclipse IDE.
We are planning to use single feature/plugin for all the content types like XML, shell etc. Currently we use different plugins for different content types which make our installation bulky. Our plan is to use textmate one stop solution for all.
The outline support is provided by language servers usually, not by TextMate grammars.
Shellscript support has never been enabled in tm4e because of issues in the syntax highlighting of the source grammar file. This is visible in the git history of the plugin.xml of the language pack.
As @mickaelistria pointed out, outline support is out of scope of tm4e. This plugin only deals with syntax highlighting. I don't think it would be a good decision to only rely on tm4e for all your editing needs as you miss out on all the useful features provided by a language specific language server such as auto completion, semantic highlighting, refactoring support, etc. so for shell support you should additionally rely on https://github.com/eclipse/shellwax for web technologies on https://github.com/eclipse/wildwebdeveloper, etc...
@sebthom are the issues with syntax highlighting in shell script severe ? Please share samples of the issues if avaiable. I will try to add shell script support by adding new configuration in preferences. If i have some idea of issues it will help me when i try it.
Shell script syntax highlighting is enabled in the latest snapshot version of TM4E
@sebthom Where did you get the shell script grammar from? For improvements do you want to see PRs against tm4e or some upstream which is later synced?
@akurtakov We are sourcing all grammars from the vscode extensions repo after we received approval for updates from the IP team. I think best (but slowest) would be if you contribute changes upstream at https://github.com/jeff-hykin/better-shell-syntax which is where vscode itself currently syncs from.
I have installed the latest version of update site on 4.29 eclipse SDK on Red Hat Linux. I don't see the support for shell script in textmate
Preferences
section and even the editor don't show any syntax highlighting. Below are the installtion details: OS: RHEL Eclipse : 4:29 textmate : https://download.eclipse.org/tm4e/releases/latest/ Installation: Missing shell script support: Also for XML files default editor is not configured like .ts file. I have not installed sample also. Question: There is no outline support seen. Is it expected ?