Bug 469115 - Support more snippet locations
Summary: Support more snippet locations
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2015-06-02 07:45 EDT by Johannes Dorn CLA
Modified: 2019-07-24 14:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Dorn CLA 2015-06-02 07:45:17 EDT
We currently don't support two java partitions which correspond to locations where the snipmatch search can be triggered.

These are JAVA_STRING and JAVA_CHARACTER. 

e.g.
-setText("$")

-setChar('$')

Triggering snipmatch search here won't find any snippets.

It might be worthwhile to support these locations and also allow snippets to be exclusive to them. I can imagine to have some unicode snippets that enter the correct code.

With Bug 468756 we do support snippets to be applied in comments if they have the FILE location. We may want to change it, so that comments have their own locations.