You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (Jira)" <ji...@apache.org> on 2022/03/09 08:48:00 UTC

[jira] [Commented] (NETBEANS-4539) No syntax highlighting for specific textmate grammar

    [ https://issues.apache.org/jira/browse/NETBEANS-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503398#comment-17503398 ] 

Christian Lenz commented on NETBEANS-4539:
------------------------------------------

So for markdown the syntax highlighting is working but not really notworthy as mentioned here: [https://github.com/apache/netbeans/discussions/3477#discussioncomment-2060060] but this is another topic. For ftl files, unfortunately no syntax highlighting, but maybe the lexer is somehow broken and VS Code can handle this better. Atm I can live with that, it seems the only lexer atm which is not working so far.

> No syntax highlighting for specific textmate grammar
> ----------------------------------------------------
>
>                 Key: NETBEANS-4539
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4539
>             Project: NetBeans
>          Issue Type: Bug
>          Components: textmate-lexer
>    Affects Versions: 12.0, 12.4
>         Environment: Product Version: Apache NetBeans IDE 12.0
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.0
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0
>            Reporter: Christian Lenz
>            Assignee: Jan Lahoda
>            Priority: Major
>
> I don't have syntax highlighting, when I use/register this grammar file: https://github.com/microsoft/vscode-markdown-tm-grammar/blob/master/syntaxes/markdown.tmLanguage
> Steps to reproduce:
> * Open options
> * Go to Editor -> Language Servers
> * Create a new entry for md files
> * Use the given grammar file to register it for md files
> * Save and apply options.
> * Open any *.md file
> * See no syntax highlighting



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists