You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Riksoft (Jira)" <ji...@apache.org> on 2020/08/17 11:17:00 UTC

[jira] [Created] (NETBEANS-4721) Code templates lack contexts when saving

Riksoft created NETBEANS-4721:
---------------------------------

             Summary: Code templates lack contexts when saving
                 Key: NETBEANS-4721
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4721
             Project: NetBeans
          Issue Type: Bug
          Components: editor - Completion &amp; Templates
    Affects Versions: 11.3, 12.0, 9.0, 8.2
         Environment: Any
            Reporter: Riksoft


The code completion doesn't work at all on code templates on languages that are not PHP, not by keyword, nor by typing the initial part of the expanded text (as the manual says).

It is years and years that I work around this problem with this bash script that adds contexts to the xml config file and it's ridiculous I have to do this to make the IDE works properly

[https://www.riksoft.it/wikiriks/ide/netbeans-8-no-completion-on-php-code-template]

One day, when the IDE was still branded Oracle, someone fixed this problem for PHP only, adding a tab "Contexts" in Tools->Options->Editor->code Templates  when you click "New" for Language=PHP; but all the other languages have not such checkbox.

By the way I think we shouldn't even bother to add a checkbox because the proper contexts should be always added automatically.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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