eclipse-mars

What's the right way to work with a different C++ compiler in a CDT project?

江枫思渺然 提交于 2019-12-05 08:32:31
I use Eclipse CDT Mars.2 (and Neon RC), on Linux. My distribution's default C++ compiler is GCC 5.3.1, but for some of my work I use GCC 4.9.3. I would like everything regarding my project to use GCC 4.9.3: The tool discovery, the C++ standard library, the include file paths, the indexer, the preprocessing - all of it. What's the right way to do this? It seems Eclipse has rather byzantine "providers" and "toolchains" configurations and I do not want to make settings I won't be able to undo later... Note: I did try to replace ${COMMAND} with /usr/bin/g++-4.9 in some of the Preprocessor Includes

Backspace key is reverted in Eclipse Mars

心不动则不痛 提交于 2019-12-05 06:40:19
My backspace key in Eclipse Mars (4.5.0) works like the delete key: it deletes the right character instead of the left one. That's really confusing Maybe I accidentally used a shortcut key? I tried to restart Eclipse but it didn't work. I also tried to switch the key binding preferences to "Emacs" scheme before reverting to "Default" but that didn't work either. Any help appreciated, thank you! Edit: damn, I just found out that ctrl+x doesn't work any more either! Got solved: Go to "Window -> Preferences". Then inside the tree navigate to "General -> Keys". In the right side of the window,

Ubuntu 16 LTS - Eclipse window preferences not working properly

好久不见. 提交于 2019-12-04 18:57:06
问题 I've just installed Ubuntu 16.04 LTS. I downloaded a fresh Eclipse on March 2 for Linux 64-bit. I am using the latest Oracle hotspot JDK 1.8 update 91 release. The first thing I noticed, while trying to enable Eclipse general preferences to show stack usage, was that opening the preferences window took 30 seconds and clicking on the different tree elements has no effect on the content of the preferences screens. Other menus seem to be working properly, but this one in particular is going

Eclipse Mars not showing Jboss Server

孤人 提交于 2019-12-04 07:33:19
Here is the things I tried In Eclipse Mars go to Help-> Install New Software Click on add button and paste the URL of the update site which is in our case: Eclipse Mars tools for Jboss Now select the JBossAS Tools plugin and Click "Next" EDIT :- Even after doing above points i am not able to see the Jboss server in eclipse mars so i tried below Go to eclipse market place - > search for Jboss -> Then from List Red Hat Jboss Developer Studio(Mars) 9.0->Confirm Even now i am not able to see Jboss server in the eclipse add server list so not able to run my application in Jboss server . Can any one

How can I remove Eclipse Mars Jboss Tools Toolbar item

末鹿安然 提交于 2019-12-04 01:07:40
问题 I have installed Eclipse Mars and have also installed the Jboss Tools from the eclipse marketplace. My issue is that after installing the JBoss tools, I seem to have a set of controls for the server in my menu bar, that have been created in the Early Learning Centre style. I've tried the Window > Perspective > Customize Perspective menu option, but still I am left with this awful menu. Does anyone know how to stop it from showing on my toolbar? 回答1: Ok, After some more specific searching, I

Ubuntu 16 LTS - Eclipse window preferences not working properly

馋奶兔 提交于 2019-12-03 12:39:06
I've just installed Ubuntu 16.04 LTS. I downloaded a fresh Eclipse on March 2 for Linux 64-bit. I am using the latest Oracle hotspot JDK 1.8 update 91 release. The first thing I noticed, while trying to enable Eclipse general preferences to show stack usage, was that opening the preferences window took 30 seconds and clicking on the different tree elements has no effect on the content of the preferences screens. Other menus seem to be working properly, but this one in particular is going nowhere. Has anybody else experienced this problem, and how can I solve it? 99Sono The issue is the updated

How can I remove Eclipse Mars Jboss Tools Toolbar item

偶尔善良 提交于 2019-12-01 04:04:06
I have installed Eclipse Mars and have also installed the Jboss Tools from the eclipse marketplace. My issue is that after installing the JBoss tools, I seem to have a set of controls for the server in my menu bar, that have been created in the Early Learning Centre style. I've tried the Window > Perspective > Customize Perspective menu option, but still I am left with this awful menu. Does anyone know how to stop it from showing on my toolbar? Ok, After some more specific searching, I found the answer at this link: https://developer.jboss.org/thread/263510?start=0&tstart=0 specifically "To

Eclipse Mars: Content Assistant doesn't complete when pressing dot

大城市里の小女人 提交于 2019-12-01 03:50:34
When I type in the first part of a local variable name and press Ctrl + Space in order to show up the content assistant, then it displays the full name of the variable and preselects it. In Eclipse Luna release the full name becomes inserted if you press . on keyboard and the content assistant shows up all accessible members of this variable instance. With Eclipse Mars it inserts the dot directly after the incomplete variable name. How can I switch this behavior back to Eclipse Luna? public class A { public int member; public void possiblyAll(){ } } public class Test { private A

Eclipse v4.5 without delta-pack: How to perform a multiplatform headless PDE build?

喜欢而已 提交于 2019-11-30 20:01:16
Now that eclipse 4.5 is out and the eclipse team decided to not build the so-called "delta-pack" anymore, I don'tknow how to perform a PDE headless build with ant.. Official PDE build documentation here http://help.eclipse.org/mars/index.jsp?nav=%2F4_2_0 states that variable "baseLocation" should point to "the location of an eclipse install containing all the pre-built features and plug-ins that your product requires in features/ and plugins/ subdirectories" With v4.4, it was easy, this variable was pointing to the location of the unzipped delta-pack with all the platform specific stuff But

HibernateTemplate is throwing java.lang.NoSuchMethodError: org.hibernate.Session.getFlushMode() — Spring4.2.6, Hibernate5.2

二次信任 提交于 2019-11-30 05:51:28
问题 I have looked around similar postings with SessionFactory and missing Main(). My problem is not related to them. Not sure if any jar is a mismatch. I am trying a sample Spring4.2.6 with Hibernate5.2 code using JDK8 and getting this exception: Exception in thread "main" java.lang.NoSuchMethodError: org.hibernate.Session.getFlushMode()Lorg/hibernate/FlushMode; at org.springframework.orm.hibernate5.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1125) at org.springframework