ide

Flex/Bison IDE? [closed]

偶尔善良 提交于 2019-12-04 18:07:38
问题 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 last year . I'm looking for a good development environment in which to work on flex or bison or both. Are there any IDE's that have these capabilities and/or are suitable for this? (If not the next most general question is are there lexer/parser generators with IDE's?) Thanks ~Alex 回答1: ANTLR has several IDEs available,

How do you disable the CPU window in Delphi 7

心不动则不痛 提交于 2019-12-04 17:59:43
问题 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. 回答1: Delphi does not, by

Visual Studio 2013 C++ auto indenting doesn't work well

拈花ヽ惹草 提交于 2019-12-04 17:53:13
For some reason, after I type the following block in Visual Studio 2013: for (int i = 0; i < m; i++) if (some_condition) { } VS 2013 automatically indents the code to this: for (int i = 0; i < m; i++) if (some_condition) { } If I put the if between curly brackets, it formats the code correctly. This behavior is very frustrating. I don't remember having this issue in VS 2012. If I disable auto formatting, it doesn't even put the cursor at the same indent level as the line above. Even notepad++ works better than VS. Is there a way to fix this? Maybe to import the indenting rules from VS2012

Run Destination Not Valid For Running Scheme Xcode

╄→尐↘猪︶ㄣ 提交于 2019-12-04 17:48:05
问题 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'. 回答1: 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

how to add lines numbers to : QTextEdit?

荒凉一梦 提交于 2019-12-04 17:46:00
问题 i am writing a visual basic ide , and i need to add lines numbers to QTextEdit and highlight current line . i have found this tutorial but it is written in java and i write my project in c++ so where to find tutorial like that in c++ , or if there is a ready to use component ? thanks . 回答1: Here's the equivalent tutorial in C++: Qt4: http://doc.qt.io/qt-4.8/qt-widgets-codeeditor-example.html Qt5: http://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html 回答2: I know that Qt tutorial

Java开发工具IntelliJ IDEA是如何导入项目的

我怕爱的太早我们不能终老 提交于 2019-12-04 17:43:02
用户使用Intellij IDEA进行项目开发,不仅可以创建全新的项目,还可以导入使用其它开发工具设置和开发的项目。 1 选择源目录 点击File → Import Project并指定导入项目所存放的磁盘位置。 用户可以根据所导入的项目创建一个新的IntelliJ IDEA项目。可导入的项目包括Eclipse,Maven和Gradle项目等。用户也可以跳过具体的项目文件,直接从源文件建立新的项目。 2 选择目标项目 一旦源目录是已知的,IntelliJ IDEA需要知道用户是否想要使用指定位置文件建立一个新项目,或者是否希望IntelliJ IDEA采用一个给定的项目模型(即Eclipse, Maven, 或Gradle),之后才能按照自动化的方式进行。 在这里我们选择从源文件创建新项目 3 配置新项目 用户需要指定根据源文件所创建的新项目名称和磁盘位置。 选择要导入的文件 因为在这种情况下没有已知的项目模型在运行,所以IntelliJ IDEA的向导要经过不少的步骤才能在磁盘上找到匹配的模型和Android项目的要求。 例如,用户应该指明需要的是gen还是src文件夹。 同样,用户需要确认导入的任何开源项目都可以在源项目中找到。 最后,用户应该指定新的项目需要用到的Java SDK和Android平台。 最后,在向导借宿之后

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

≯℡__Kan透↙ 提交于 2019-12-04 17:11:42
问题 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

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

孤人 提交于 2019-12-04 16:59:52
问题 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

Is it possible in Pycharm to map a tab to produce 4 spaces. If so how?

强颜欢笑 提交于 2019-12-04 16:41:46
this is my first time using an IDE. I was wondering if its possible, as I've done in vim with imap, to make it so that when I press tab 4 spaces are produced in the editor. If this is possible, please point me how to do it. I'm not super familiar with key symbols so please be as explicit a possible; I poked around the keymap under settings but it was pretty confusing. You can customize the Tab size in Pycharm. Goto Preference --> Editor --> Code Style --> Python. 来源: https://stackoverflow.com/questions/47102828/is-it-possible-in-pycharm-to-map-a-tab-to-produce-4-spaces-if-so-how

View Errors in Intellij Project [duplicate]

假如想象 提交于 2019-12-04 16:41:14
问题 This question already has answers here : How to view the list of compile errors in IntelliJ? (4 answers) Closed 2 years ago . I'm using Intellij version 8. How can I view the warnings or errors for an entire project? 回答1: UPDATE : See this answer which is up to date. The original answer here was for older IDEA version when there was no automatic compilation and the Problems view. 回答2: I had a similar situation, wanting to view all warnings and errors in RubyMine / IntelliJ IDEA in a single