ide

Why is IntelliJ IDEA hanging on “Indexing”?

狂风中的少年 提交于 2019-12-20 08:56:04
问题 Want to improve this post? Provide detailed answers to this question, including citations and an explanation of why your answer is correct. Answers without enough detail may be edited or deleted. I'm running on Arch Linux, on an i7-5930k 6 core CPU and 64GB of DDR4 RAM, and I'm using IntelliJ IDEA 14. IDEA was working just fine for me several days ago, but one day, suddenly, it began hanging after opening a project, during the "Indexing" stage. I did not update IDEA and nothing changed about

Is there a keyboard shortcut in Eclipse to fold the current method/block?

回眸只為那壹抹淺笑 提交于 2019-12-20 08:12:40
问题 Hey, question says it all. I have folding turned on in Eclipse (v3.4), and rather than having to click the little +/- in the page gutter, I'm wondering if there's a keyboard shortcut to just "fold the current method". A quick look at the menus and what-not in eclipse doesn't show a menu item for it, so maybe you just can't do it. Anyone? 回答1: By default they're bound to Ctrl + Numpad_Minus and Ctrl + Numpad_Plus , but you can rebind them. 回答2: To expand on petrilli's answer: Ctrl + Numpad

How do you enable word-wrap by default in Eclipse?

旧巷老猫 提交于 2019-12-20 08:03:28
问题 Simple question: how do you enable word-wrap by default in Eclipse? I looked at this plugin but it only goes up to Luna. In addition, this plugin is a separate text editor and does not have syntax highlighting or validation. I'm open to other suggestions. 回答1: Word wrap is available in Eclipse Neon IDE: https://www.eclipse.org/neon/noteworthy/#_word_wrap_in_text_editors. Just consider using the latest version. Shortcut: Alt + Shift + Y 回答2: As pointed out by @KrisWebDev in this answer,

Highlighting modified lines in Eclipse

和自甴很熟 提交于 2019-12-20 07:59:09
问题 In netbeans, if I open a file which is under version control the lines which are modified are highlighted in the left. (green for new lines and blue for modified lines) Is it possible to get a similar effect in Eclipse? 回答1: Open the Preferences window Search for "diff" Select Quick Diff Change the "Use this reference source" to a SCM provider (like CVS, SVN or Git) By default, it compares to the latest version on disk, which, if you've saved the file, is no diff at all. You have to activate

Add resources to a JAR

送分小仙女□ 提交于 2019-12-20 07:22:41
问题 I want to include resources fils (images, textfiles...) in a JAR. I added my asset folder to the classpath, so my program works fine when I run it in netBeans. But if I build the project, I receive an error : Not copying library C:\Users\Flow\Desktop\cp , it's a directory. Is it a normal error ? So I tried to add assets manualy like that : <target name="-post-jar"> <jar destfile="dist/MonProjet.jar" update="true"> <fileset dir="C:/Users/Flow/Desktop/cp"> <include name="assets/*"/> </fileset>

How to integrate FileMerge with Komodo 6 IDE?

江枫思渺然 提交于 2019-12-20 06:32:13
问题 After reading this post: http://community.activestate.com/forum/subversion-external-diff-tool I've tried using the following command in the "diff options" text box in preferences > source code control > Subversion but it does not work. --diff-cmd /Developer/Applications/Utilities/FileMerge.app 回答1: I figured it out. 1) Download/Install the fmdiff wrapper from here: http://www.defraine.net/~brunod/fmdiff/ 2) In Komodo IDE 6 ( Komodo Edit does not have source code control ): Preferences >

How can I use Visual Studio 2010 with the Visual C++ 2008 compiler?

本小妞迷上赌 提交于 2019-12-20 04:15:32
问题 I want to use Visual Studio 2010 with the 9.0 compiler, how can I do this? I need this so I can use DarkGDK, however I do not want to switch the IDE. 回答1: It's right there in your project properties, "Platform Toolset" defaults to "v100". Just change that to "v90" and you are done. 来源: https://stackoverflow.com/questions/7621621/how-can-i-use-visual-studio-2010-with-the-visual-c-2008-compiler

How do I skip past an automatically generated end </tag> in my IDE without lifting my hands off the keyboard (or using arrow keys)?

馋奶兔 提交于 2019-12-20 03:54:30
问题 OK, lets just do a case in point, but before that, a simple key. "*" means "this is where the cursor is". "**" means "this is where we'd like the cursor to be able to 'jump' to" Now assume you or I need to write some code, lets say we're not really even thinking that hard and might even be copying down someone else's code. We're patient, but in a hurry. OK, so you're writing this... <div class="subject show"> #ok, the ">" and "" were pregenerated, but I didn't need to skip, next line <h2

Visual Studio 2010, “File > Recent Projects and Solutions” is not a active !

这一生的挚爱 提交于 2019-12-20 03:25:32
问题 I have created hundreds of project on VS 2010 but "File > Recent Projects and Solutions" section is not there ! normally, it should have been like this but mine is like below; as you can see, also on the start page, there is only two project on the 'Recent Projects' section which is odd given the circumstances. what should I do here to get it worked? Thanks in advance for your help. EDIT here is how customize window looks; and here is the regedit view; 回答1: It seems you have two separate

How to fix QT VS Add-in for Qt 5.6 beta and VS2015?

亡梦爱人 提交于 2019-12-20 03:20:39
问题 I did not compile Qt myself, rather I used installer from official Qt website (5.6 beta is available since few days ago). Installation was successful, Qt folder conatins bin folder with qmake and everything. Building apps in Qt Creator works. However, when I try to launch Qt using VS addin 1.2.5.9 I get error No default Qt version found. Pleae check your Qt Visual Studio Add-in settings. I have edited QT5 -> Qt Options to contain the correct Qt path to 5.6 beta, error still persists. I have