eclipse-juno

How can I convince Eclipse CDT that a macro is defined for source code editing and code completion?

允我心安 提交于 2021-02-13 11:48:50
问题 I have in my source code: // foo.cpp struct foo { foo() {} #ifdef I_WANT_THIS_FEATURE void bar() {} #endif }; In my Makefile I have foo.o: foo.cpp g++ -c -DI_WANT_THIS_FEATURE foo.cpp -o foo.o This compiles fine from the command line as well as with the external builder that I have created in Eclipse (which basically defines a few environment variables and calls make ) and I can call foo::bar() . However, in the Eclipse CDT source code editor, the part where I define foo::bar() has a grey

How can I convince Eclipse CDT that a macro is defined for source code editing and code completion?

一世执手 提交于 2021-02-13 11:48:45
问题 I have in my source code: // foo.cpp struct foo { foo() {} #ifdef I_WANT_THIS_FEATURE void bar() {} #endif }; In my Makefile I have foo.o: foo.cpp g++ -c -DI_WANT_THIS_FEATURE foo.cpp -o foo.o This compiles fine from the command line as well as with the external builder that I have created in Eclipse (which basically defines a few environment variables and calls make ) and I can call foo::bar() . However, in the Eclipse CDT source code editor, the part where I define foo::bar() has a grey

Add Maven repositories for a project in Eclipse?

强颜欢笑 提交于 2020-07-08 03:58:07
问题 How can I add Maven repositories for a project. I'm using Eclipse Juno version: Juno Service Release 1 Build id: 20120920-0800 and using Fedora as my OS. 回答1: You can include it in your pom.xml . Just add the repositories information inside the <project> tag <repositories> <repository> <id>maven-restlet</id> <name>Public online Restlet repository</name> <url>http://maven.restlet.org</url> </repository> </repositories> 回答2: You have to add the repository to your settings.xml : Maven Settings

Eclipse content assist auto appends type for variable

隐身守侯 提交于 2020-07-02 17:27:07
问题 I just started to use Juno for a couple of days, the content assist mechanism seems different from what it behaves before. For example, if I try to declare a variable Boolean isVisible The content assist of Juno will give you a drop-down list with the variable name isVisibleBoolean as hint. And the very annoying thing is that no matter what I typed in(; or SPACE), the "isVisibleBoolean" will be selected. Does anybody know how can I disable the auto-variable-type-appending thing? Much

Eclipse Juno JSP syntax highlighting doesn't work

元气小坏坏 提交于 2020-01-12 13:45:11
问题 I installed the Java EE version of Juno and opened an existing project I'm working on. First thing I noticed was that there was no syntax highlighting on my JSP's. I checked my install and I do have WTP installed. Any ideas why this isn't working? It has worked out-of-the-box on every other version of Eclipse that I've used. 回答1: Same problem happen to occur for me. I had tried this solution and it worked for me. Check your JDK must be 1.6 or later. If not install JDK 1.7 If problem still

Is the Google Eclipse Plugin for Juno (Eclipse 4.2) broken?

大城市里の小女人 提交于 2020-01-03 20:21:10
问题 I just installed Eclipse EE Juno (4.2) and a whole slew of plugins for it. I am now attempting to install the Google plugin (GAE and GWT) and am getting an error when adding the update site through Juno's Install new software window: Name: Google-Plugin Location: http://dl.google.com/eclipse/plugin/4.2 When I try to enter this I get: Could not find http://dl.google.com/eclipse/plugin/4.2 I see this question from a few months ago. Although I am having a very similar problem, I think I have a

Is the Google Eclipse Plugin for Juno (Eclipse 4.2) broken?

*爱你&永不变心* 提交于 2020-01-03 20:18:29
问题 I just installed Eclipse EE Juno (4.2) and a whole slew of plugins for it. I am now attempting to install the Google plugin (GAE and GWT) and am getting an error when adding the update site through Juno's Install new software window: Name: Google-Plugin Location: http://dl.google.com/eclipse/plugin/4.2 When I try to enter this I get: Could not find http://dl.google.com/eclipse/plugin/4.2 I see this question from a few months ago. Although I am having a very similar problem, I think I have a

Profiling for java in eclipse juno

北城余情 提交于 2020-01-02 04:47:46
问题 I have to optimize performance of a team project (in eclipse Juno). To identify the bottle neck (timing) i'm searching for a tool or plugin. There seems to be a good platform TPTP, but this is not supported anymore in Eclipse Juno. JVM is a good start but seems not sufficient for a deeper analysis. Did you have some good pratices for an integrated Plugin in Eclipse Juno? If not maybe some standalone tool is succiecent as well. 回答1: There are several big solution in Java profiler world:

full screen editor in Eclipse Juno [closed]

爷,独闯天下 提交于 2020-01-02 03:32:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . There are a few plugins that allow full screen editing in Eclipse but I can't find any that I can install on Juno. Does anyone know whether such a thing exists? When I search for "full screen" in the marketplace, for example, several examples show up but none of them are installable. (Why the marketplace shows

Eclipse Juno build error with “Maven Project Builder”

两盒软妹~` 提交于 2020-01-02 00:43:05
问题 When I try to clean & build my Maven project I get the following error: Errors occurred during the build. Errors running builder 'Maven Project Builder' on project '(Hid Project Name)'. org/apache/maven/project/MavenProject Errors running builder 'Maven Project Builder' on project '(Hid Project Name)'. org/apache/maven/project/MavenProject similarly with the clean all process, it throws the following: Errors occurred during the build. Errors running builder 'Maven Project Builder' on project