jetbrains-ide

Where does CLion store executable files?

一个人想着一个人 提交于 2019-11-28 04:49:54
I install the CLion on a Ubuntu 14.04. I build my first project with help CMakeLists.txt: Source file: #include <iostream> using namespace std; int main() { cout << "Hello, World!" << endl; return 0; } CMakeLists.txt: cmake_minimum_required(VERSION 2.8.4) project(sh) set(SOURCE_FILES main.cpp) add_executable(sh ${SOURCE_FILES}) My source file is located in a /home/user/Desktop/sh . But after build, I don't see any executable file in this folder. Where is it? When you build under CLion, It prints the path it sends the executable to the Console: -- Build files have been written to: /home/<user>/

WebStorm/PhpStorm double quotes in TypeScript auto import

夙愿已清 提交于 2019-11-28 03:13:08
I'm using TypeScript style with single quotes, double quotes are used exclusively in HTML templates. WebStorm/PhpStorm auto import adds import statements with double quotes and ruins the style. I guess this applies to all JetBrains products. How can this behaviour be fixed? LazyOne This behaviour is controlled by the following option: Settings/Preferences Editor | Code Style | TypeScript "Punctuation" tab | Generated code -> Quote marks As of 2017.1 version it's on new Punctuation tab and options are named a bit differently: Also if you would like to add automatic space between curly braces

WebStorm - Live templates - indicate the order of focusing the same variable

吃可爱长大的小学妹 提交于 2019-11-27 08:03:12
问题 I am interested in if there is a mean to indicate where the writing the variable name should start e.g if I call this live template: console.log('$TEXT$', $TEXT$); ^ It will start writing from the first TEXT variable. I want to start writing from the second one: console.log('$TEXT$', $TEXT$); ^ 回答1: You cannot do that for the same variable as each variable is processed only once. Solution: Give them different names console.log('$TEXT$', $VAR$);$END$ (I've also added $END$ to denote final

How do I set up CLion to compile and run?

江枫思渺然 提交于 2019-11-27 06:07:34
I just downloaded CLion from https://www.jetbrains.com/ because I just love the rest of their products. However I'm having problems configuring it. I'm not able to compile and run my application (a simple "hello world"). When I try to run the application it refers me to "Edit configuration", so I added a new application and now I have this problem: I cannot specify the "target"; the only thing I can do is set "All targets". I cannot specify the "configuration" (all tutorials I found have Debug or Run here). Executable? Hmm. Should the path to GCC be here? (C:\MinGW\bin\gcc.exe) The rest of the

Where does CLion store executable files?

让人想犯罪 __ 提交于 2019-11-27 05:27:37
问题 I install the CLion on a Ubuntu 14.04. I build my first project with help CMakeLists.txt: Source file: #include <iostream> using namespace std; int main() { cout << "Hello, World!" << endl; return 0; } CMakeLists.txt: cmake_minimum_required(VERSION 2.8.4) project(sh) set(SOURCE_FILES main.cpp) add_executable(sh ${SOURCE_FILES}) My source file is located in a /home/user/Desktop/sh . But after build, I don't see any executable file in this folder. Where is it? 回答1: When you build under CLion,

WebStorm/PhpStorm double quotes in TypeScript auto import

南笙酒味 提交于 2019-11-26 23:56:04
问题 I'm using TypeScript style with single quotes, double quotes are used exclusively in HTML templates. WebStorm/PhpStorm auto import adds import statements with double quotes and ruins the style. I guess this applies to all JetBrains products. How can this behaviour be fixed? 回答1: This behaviour is controlled by the following option: Settings/Preferences Editor | Code Style | TypeScript "Punctuation" tab | Generated code -> Quote marks As of 2017.1 version it's on new Punctuation tab and

Can IntelliJ IDEA encapsulate all of the functionality of WebStorm and PHPStorm through plugins?

☆樱花仙子☆ 提交于 2019-11-26 19:15:58
I am in the market for a new IDE but am confused about the overlap between some of Jetbrains' offerings. It looks like IntelliJ IDEA has plugins that allow you to do Node.js and php development. Can IntelliJ IDEA do everything that WebStorm and PHPStorm do through plugins or do they have special features not available in IDEA? I am hoping to have a single polyglot IDE for all development. All of the functionality of our lightweight IDEs can be found within IntelliJ IDEA (you need to install the corresponding plug-ins from the repository ). It includes support for all technologies developed for

How do I set up CLion to compile and run?

允我心安 提交于 2019-11-26 11:52:58
问题 I just downloaded CLion from https://www.jetbrains.com/ because I just love the rest of their products. However I\'m having problems configuring it. I\'m not able to compile and run my application (a simple \"hello world\"). When I try to run the application it refers me to \"Edit configuration\", so I added a new application and now I have this problem: I cannot specify the \"target\"; the only thing I can do is set \"All targets\". I cannot specify the \"configuration\" (all tutorials I

Auto errors detection in IntelliJ IDEA

主宰稳场 提交于 2019-11-26 02:37:55
问题 I am new to Java programming language and the IntelliJ IDEA 2017.1 IDE. I just installed the IDE and I activated all the various inspections but the IDE is unable to detect the errors any time I make a mistake such as omitting a bracket or a semicolon. This image displays the activated inspections: This is a screenshot of my code with multiple errors but no detected by the IDE: Kindly help me solve this problem. 回答1: Java file is not analyzed since it's located outside of the source root .