This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268888 - Please add postfix completion
Summary: Please add postfix completion
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Other
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
Depends on:
Reported: 2016-11-08 09:51 UTC by Christian Lenz
Modified: 2018-02-15 16:55 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2016-11-08 09:51:15 UTC
As you can see in WebStorm it is possible to write "test".log->tab will expand to console.log("test"); It is called postfix completion.

It is really handy to have it in netbeans too.


Comment 1 Petr Pisl 2016-11-14 15:35:04 UTC
Milo, do we have something like this in NetBeans?
Comment 2 Christian Lenz 2016-11-14 15:41:02 UTC
May I can give a hint, unfortunately not, I created tickets for the Java, PHP and C/C++ editor.
Comment 3 Christian Lenz 2016-11-14 15:41:15 UTC
(In reply to ChrisLE from comment #2)
> May I can give a hint, unfortunately not, I created tickets for the Java,
> PHP and C/C++ editor.

Comment 4 Petr Pisl 2016-11-14 22:16:21 UTC
IMHO at first it should be supported in an infrastructure (CSL, which covers html, javascript, php, csl etc) or in the editor itself (java, c++ and other languages that are not implementing CSL). Then the languages should implement the prepared api/spi.

I can implement it directly in javascript, but it's not the right solution.
Comment 5 Christian Lenz 2018-02-15 16:54:55 UTC
I will close it, because it will handled now at the JIRA board: Please discuss it there for further information.