| Summary: | [assist] Template insertion proposes array values as 'keywords' | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | emoffatt, Silenio_Quarti |
| Version: | 8.0 | ||
| Target Milestone: | 9.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/46802 https://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=1be0ca78453020ca19a341bba3e43d0f07271e25 |
||
| Whiteboard: | |||
|
Description
Michael Rennie
The problem is that the data list given is passed back into the framework - into a new TemplateContentAssist in linkedMode.js - which computes the list a keywords.
When contributors create a data object to pass in to content assist we should be able to specify a title and styling as well. Something like (out of the JS templates.js file):
var typeofValues = {
type: "link", //$NON-NLS-0$
values: [
"boolean", //$NON-NLS-0$
"function", //$NON-NLS-0$
"number", //$NON-NLS-0$
"object", //$NON-NLS-0$
"string", //$NON-NLS-0$
"symbol",
"undefined" //$NON-NLS-0$
],
title: null,
style: 'emphasis'
};
New Gerrit change created: https://git.eclipse.org/r/46802 Gerrit change https://git.eclipse.org/r/46802 was merged to [master]. Commit: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=1be0ca78453020ca19a341bba3e43d0f07271e25 The fix has been merged |