ide

Run Destination Not Valid For Running Scheme Xcode

主宰稳场 提交于 2019-12-03 11:34:41
Just downloaded Xcode and I am trying to run a simple C++ file to make sure everything works and whenever I try to run the .cpp file I am given this: "The run destination My Mac is not valid for Running the scheme 'Scheme_Name'. happened the same to me with a project I downloaded. In my case, the solution was to change the "Base SDK" to the latest OS X in the Build Settings. To do so, click on the project name in the navigator on the left, then on Build Settings and in the main window you should look for Base SDK . If Base SDK does not show, ensure that "All" is selected in the filter at the

Disable reformatting code when saving files

瘦欲@ 提交于 2019-12-03 11:33:17
问题 I made a small change to an old java file in IntelliJ and when I save the file the IDE automatically reformats all the code. Normally this would be preferable, however it seems almost every line has unnecessary white space that gets cleaned up. Now it appears the entire file was modified even though I only made a small fix. This will make looking at the significant changes in VCS more difficult. Is there a way to disable code reformatting when a file gets saved? So far I haven't had any luck

Intellij project view: not show multiple classes in same file

安稳与你 提交于 2019-12-03 11:00:38
One frustrating thing I find in Intellij's project view is that it shows all the classes in a file instead of just the class for which the file is named. The problem with this is that to open a file I have to double click twice: once to expand the file and show the classes in the file, and then a second time to actually open the file. In most cases I don't want to see the classes inside of a file. I just want to see the file in the project view and when I double click on the file I want to open the file, not drill down into its structure. Is it possible to configure my UI this way? UPDATE:

Is there a C++ IDE which handles templates well?

北城以北 提交于 2019-12-03 10:55:36
Every IDE I've tried fails to provide code-completion when something template-related is used. For example, boost::shared_ptr<Object> ptr; ptr->[cursor is here] Is there IDE that can provide code completion in this case? Actually this is a fairly simple template use-case, Qt Creator can handle this easily and more complex template code aswell. Visual Studio with Visual Assist X handles that case, but still fails more complex code. I've always use Eclipse C/C++ IDE . It supports code completion as well :) Rob Wells G'day, As an aside, I'd highly recommend Scott Meyers's excellent " Effective

Visual Studio : exclude outlining from undo/redo stack

最后都变了- 提交于 2019-12-03 10:54:31
问题 There's something really annoying in Visual Studio : when I expand or collapse a method or code region, this action is pushed on the undo stack. So if I edit some code in a method, then collapse that method, and then want to undo my change, I have to undo twice : once for the collapse action, and once for the change in code. This can be VERY confusing if you expanded or collapsed several things after editing the code, the editor keeps jumping to different places and you don't know whether

How do I run a single Java file having main() in Eclipse, without creating an entire Java project?

不问归期 提交于 2019-12-03 10:54:11
Here's what I've got: I have a TestFile.java with the same class name. This class has a valid main() method. The file is easily run via terminal using javac and then java, gives intended output. However, when I drag and drop(or open) the file into Eclipse and try to Run As , I don't get Run As Java Application or anything that can run that single/independent(of any project) Java file/class. When I try to just Run , I get a pop-up saying " Run As Ant Build . Now, I never setup ant build. All I want is to run just one this Java file and see the output/error in Console that is visible just below

When typing in Open Resource dialog, is there a way to find files by directory instead of just the file name?

老子叫甜甜 提交于 2019-12-03 10:53:10
I have been using extensively Ctrl + Shift + to find and open files in my Eclipse project. But sometimes I know the directory where my files are (or part of it) but I don't know exactly their names. When doing search, it seems it only takes into consideration the name of the files, and not their paths. I'd like to be able to refine the search by path. For instance, if I have a folder X with 3 files in it, I'd like that typing X would bring up the 3 files, so I could choose them. Or that it'd actually let me select the X folder itself! Is there a way to do this in Eclipse? Deepak Azad Use Ctrl

Is there a good J2ME IDE? [closed]

霸气de小男生 提交于 2019-12-03 10:47:50
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Is there a good J2ME IDE? I mean something lightweight, and portable. Something that can run what you program on it. My favorite Java IDE is JCreator Lite. Is there something like that for J2ME? Also, which would you say is the best J2ME IDE? Netbeans is

How do you disable the CPU window in Delphi 7

杀马特。学长 韩版系。学妹 提交于 2019-12-03 10:41:16
When stepping a program in Delphi 7, the CPU window sometimes pops up and then steps through that instructions. I find this an annoyance as I wish to only step Pascal Code. Does anyone know how to disable this CPU pop-up? I would not be sorry if this window never ever shows. It did not happen on Delphi 5 which was my previous IDE that I used for Delphi. I do use the Step-Over button mostly and only step-into when wanting to get into detail of a used (pascal) unit. Lars Truijens Delphi does not, by default, step into the CPU window. So the answer to your question is not that it can not be done.

Tools Commonly used to Program in R

情到浓时终转凉″ 提交于 2019-12-03 10:37:22
问题 I apologize if this has already been asked a different way but I couldn't find anything getting at what I wanted. I am really getting into R from other packages (SPSS). As I learn about what truly can be done, I realize that there are additional "tools" that I need. This gets me to my question. What setup do you have for developing R code? I can't see myself actually developing r packages anywhere in the near future, but I do see myself wanting to manage my r projects effeciently, as well as