jsdt

no JavaScript auto complete in PyDev Eclipse project

懵懂的女人 提交于 2019-12-21 20:31:19
问题 I have Eclipse with PyDev and JavaScript Development Tools (JSDT). I'm using this environment to develop web applications. Python, HTML, and CSS editors all work fine: highlighting and auto completion works. JavaScript highlighting works too, but JavaScript auto completion does not work . Switching to the JavaScript perspective doesn't help. However, if I create a separate JavaScript Project (rather than adding JavaScript files into my PyDev project), JavaScript auto completion seems to work

How use Eclipse as a Javascript IDE?

强颜欢笑 提交于 2019-12-21 04:35:24
问题 I downloaded the eclipse Javascript IDE from the official download page however, when i start the application it says "A Java Runtime Environment or Java development Kit must be available in order to run eclipse." I already have a java IDE copy of eclipse that runs fine so I don't understand why its asking for another JDK. I just want to develop Javascript in Eclipse, does anyone have any idea how to? Are there special tools or plugins i'm meant to get to get it to work? 回答1: For best

Content assist for Eclipse JSDT based Editor

烈酒焚心 提交于 2019-12-12 07:24:41
问题 In Eclipse content assist is usually implemented by some class that implements IContentAssistProcessor (JavaDoc, example) How to implement the same CompletionProposal s for JSDT based Editor? The only example I know is http://code.google.com/a/eclipselabs.org/p/jsdt-jquery/ , but it is large and unclear how to extend JSDT for code assist. Are there other APIs in JSDT? Please point to APIs to use. Related How to extend javascript editor in JSDT in Eclipse with adding new functions 回答1: You

Tasks view in Eclipse not showing TODOs?

独自空忆成欢 提交于 2019-12-10 10:37:55
问题 I'm running Eclipse Kepler with Nodeclipse and am having trouble getting the Tasks view to show my markers. I have defined my own FEATURE tag as "text contains FEATURE" but it's not showing up. I can't limit my node.js tasks to my own project. When I set it to "show all", it'll show me hundreds of tasks from node modules I'm using. When I set it as in the screenshot, it doesn't show me any tasks at all any more. I could live with 1. but 2. is a serious problem for me... Is this a bug in

Enabling the JSDT Outline view in Eclipse Neon

梦想的初衷 提交于 2019-12-07 05:56:42
问题 The question of the Outline view showing the contents of a JavaScript source file is not new and it had even found an answer. However, that answer no longer works in Neon (4.6.0): I have opened the exact same file of one project imported in two separate workspaces, one for each version of Eclipse, and Mars shows the complete outline (3 namespaces, about 80 members) whereas Neon shows two namespaces and 0 members. In the Java perspective. For instance, the following code, taken from the

How to make JavaScript function visible in Eclipse “Outline View”?

荒凉一梦 提交于 2019-12-06 19:41:36
问题 I have such code but can not turn on outline of function if it defined in anonymous function - there is not problem with class. How can I outline something2 - please share some hints? I can mark all function as constructors but it is invalid approach. // --- start of track event --- // required debug.js (function (window) { /** * @memberof erest.track_event */ function something2() { } /** * @memberof erest.track_event * @constructor */ function something3() { } }(window)); //--- end of track

code completion do not work in Nodeclipse 0.4

风格不统一 提交于 2019-12-06 06:08:05
问题 Are there something that I messed up, when installing Nodeclipse 0.4 so I can not do code completion since my code is worked. EDIT : as you can see at picture, - the red one is Node mode in Eclipse Kepler which enable after Nodeclipse installed - the blue one is Java EE IDE in Eclipse which I use as to installed Nodeclipse - the yellow one is Node code in Eclipse which default exist if I chose the example - the green is Node code class representative. if I press CTRL + Space in console. ,

Enabling the JSDT Outline view in Eclipse Neon

北城余情 提交于 2019-12-05 10:27:15
The question of the Outline view showing the contents of a JavaScript source file is not new and it had even found an answer . However, that answer no longer works in Neon (4.6.0): I have opened the exact same file of one project imported in two separate workspaces, one for each version of Eclipse, and Mars shows the complete outline (3 namespaces, about 80 members) whereas Neon shows two namespaces and 0 members. In the Java perspective. For instance, the following code, taken from the question I've linked to above gives the following results in Mars SR2 and Neon: var myNamespace = function()

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

How to make JavaScript function visible in Eclipse “Outline View”?

☆樱花仙子☆ 提交于 2019-12-05 02:17:28
I have such code but can not turn on outline of function if it defined in anonymous function - there is not problem with class. How can I outline something2 - please share some hints? I can mark all function as constructors but it is invalid approach. // --- start of track event --- // required debug.js (function (window) { /** * @memberof erest.track_event */ function something2() { } /** * @memberof erest.track_event * @constructor */ function something3() { } }(window)); //--- end of track event --- function something1() { } I was tested all filtering options, jsdoc and study Eclipse