content-assist

Eclipse (ctrl+space) content assist hook

谁说胖子不能爱 提交于 2019-12-07 02:22:26
I wrote a plugin that gets user input from Java editor, makes some computation, and writes the results to my view. The way I start the process of aforementioned computation is via context menu and I hate it. I would like it to start on ctrl+space, i.e. content assist. It is faster, more intuitive w.r.t. what the plugin does. Is there a way to do so? Update: For example, what should I do to get the current cursor position when user presses ctrl+space? I would use that position info and print it to my view. This is the most simplistic plugin that I basically need. You could take part in the

Extension point for providing custom content assist processors in Eclipse

柔情痞子 提交于 2019-12-06 22:38:07
问题 I am writing eclipse plugin to add better support for properties files. One of the missing piece is content-assist ... I'd like to show matching properties keys when user starts typing some string and presses content assist key. For example, when I have property hello = world in one of my properties files, and I start typing format("hel and hit CTRL + SPACE now, I'd like to see available hello property. My problem is that I cannot find correct extension point to provide custom content assist

How to understand browser icons in PHPStorm content assist?

荒凉一梦 提交于 2019-12-06 11:51:45
In the image attached below, in the (3) light blue content assist box, on the left there are 5 Firefox browser icons. What do they mean? Seemingly they mean those methods are only supported in Firefox. But of what versions ? And if a certain element is supported in both Firefox and Chrome, but not IE , how will it show (as there is only 1 column space for 1 icon)? (image from http://www.jetbrains.com/phpstorm/webhelp/familiarize-yourself-with-phpstorm-editor.html ) On the other hand, in Aptana, there are different columns of browser icons, showing levels of support by light up or not. (image

Can eclipse autocomplete on the left side of assignment operator?

一笑奈何 提交于 2019-12-06 06:11:24
问题 If I have typed out an expression that returns a known type, is there a way for eclipse to content-assist the creation of that type, potentially with templated variable names? The screenshot below is an example of where this would be useful. You'll notice that if I hover my mouse over the getModel() method, it clearly states that it can only return a single type of Map<String, Object> . But if I then type Ctrl-Space with my cursor to the left of the = , nothing happens. Preferably, it would

How to reactivate code assist in my xhtml page (eclipse 3.5, jboss tools 3.1, jsf 1.2)

这一生的挚爱 提交于 2019-12-06 03:32:13
问题 I develop jsf xhtml pages with facelets, and I always had code assist for all the taglibs i declared i my xhtml root element (h, f etc..) But, since, like 30 minutes, when i ctrl+space i only have regular html and ui:* proposals. I didn't change anything. It just broke, no error message, nothing. I searched the web, but nothing either, or i am not searching right. Please help me :) ps : here's an example of one of my xhtml page's header : <?xml version="1.0" encoding="ISO-8859-1"?> <ui

Enable content assist eclipse for Netsuite

試著忘記壹切 提交于 2019-12-05 13:21:13
How can I enable autocomplete / content-assist (ctrl+space) in Eclipse for Netsuite? If I create with java content assist work correctly, but if I open and create for Netsuite project content assist doesn't work correctly. Any one can help? Thanks Download Eclipse Luna from this Link https://www.genuitec.com/luna/ . and download Eclipse Standard 4.4.2 and install it. After Installation follow bellow steps. From the Eclipse IDE, click the Help menu then select Install New Software… On the Available Software window, add the repository location by clicking on the Add button. In Name: type

Content assist with javaCompletionProposalComputer for Eclipse JSDT gives no proposal

旧时模样 提交于 2019-12-05 07:27:24
问题 Content assist with org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer for Eclipse JSDT gives no proposal. In Preferences -> JavaScript -> Editor -> Content Assist -> Advanced "Nodeclipse Proposals" are visible, and selected. as advised by Bananaweizen to Content assist for Eclipse JSDT based Editor in plugin.xml <extension point="org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer" id="nodeclispe_textual_proposals" name="Nodeclipse Text Proposals"> <proposalCategory icon="icons/npm

Extension point for providing custom content assist processors in Eclipse

旧巷老猫 提交于 2019-12-05 03:44:52
I am writing eclipse plugin to add better support for properties files. One of the missing piece is content-assist ... I'd like to show matching properties keys when user starts typing some string and presses content assist key. For example, when I have property hello = world in one of my properties files, and I start typing format("hel and hit CTRL + SPACE now, I'd like to see available hello property. My problem is that I cannot find correct extension point to provide custom content assist processor. How can I provide my own content assist processor for text files? I'd like to make it work

Content assist with javaCompletionProposalComputer for Eclipse JSDT gives no proposal

那年仲夏 提交于 2019-12-03 21:28:29
Content assist with org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer for Eclipse JSDT gives no proposal. In Preferences -> JavaScript -> Editor -> Content Assist -> Advanced "Nodeclipse Proposals" are visible, and selected. as advised by Bananaweizen to Content assist for Eclipse JSDT based Editor in plugin.xml <extension point="org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer" id="nodeclispe_textual_proposals" name="Nodeclipse Text Proposals"> <proposalCategory icon="icons/npm/npm.gif"/> </extension> <extension point="org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer" id=

No completions available, strange Eclipse behavior

早过忘川 提交于 2019-12-03 14:46:30
问题 I think I tried every suggested solution, but this Eclipse auto-complete problem is quite particular: I launch Eclipse, content assist works fine; I want to create a LineBorder in my Swing project; I type LineBorder panelBorder = new Li and hit Ctrl+Space; No popup appears and in the status bar it writes in red "No completion available"; I try Ctrl+Space on the elements where content assist worked fine 2 secs earlier, it doesn't work anymore. I try the same thing on other project, on the same