jetbrains-ide

Run Java to Kotlin converter from the command line?

自作多情 提交于 2020-07-18 10:19:04
问题 You can use the Kotlin plug-ins for Intellij and Eclipse to convert Java files to Kotlin. Can this conversion be done from the command line some how without either of these IDEs? 回答1: It seems that it's possible, but there's no tool for that, just code. There are tests in j2k module in Kotlin Github repository, the example below is taken from the tests (AbstractJavaToKotlinConverterSingleFileTest): private fun fileToKotlin(text: String, settings: ConverterSettings, project: Project): String {

Pycharm error: Cannot determine module type (“WEB_MODULE”)

不羁的心 提交于 2020-07-18 08:50:05
问题 I'm using Pycharm Professional 4.5.4 to develop a javascript project and was seeing some odd behaviour when opening the project in the browser. The project structure is something like /MyProject /data /images /python /etc /webapp /webapp_copy I was trying out a few changes in the webapp_copy folder, but when I launched in the browser, pycharm launched the webapp version of the site. No idea why it was doing this, maybe because the structure and contents were similar. Anyway, I closed the

The Specified SDK “Microsoft.NET.Sdk” was not Found

戏子无情 提交于 2020-06-25 00:25:23
问题 So I'm using Rider without Visual Studio installed and its working fine for .NET but for .NET Core I'm getting the error: Project 'Test2' load failed: Das angegebene SDK "Microsoft.NET.Sdk" wurde nicht gefunden. -> (the specified SDK "Microsoft.NET.Sdk" was not found) C:\Users****\RiderProjects\Test2\Test2\Test2.csproj at (0:0) Project Creating Settings: The Error when the project is being loaded which fails: (the blue underline means " the specified SDK "Microsoft.NET.Sdk" was not found ")

IntelliJ, is it possible to “Make controller” as in NetBeans?

此生再无相见时 提交于 2020-06-13 18:49:28
问题 Does anyone with IntelliJ & NetBeans experience know, if IntelliJ has some similar feature as for NetBeans "Make controller" when right clicking the corresponding FXML file? I think it is pretty important since it updates, if I have added something new (a FXID for example), and if I deleted it and such - and also places it in the correct place by itself. I know you, in Scene Builder, can go to "View -> Show Sample Controller Skeleton" , but this is just not enough automation, especially not

IntelliJ, is it possible to “Make controller” as in NetBeans?

核能气质少年 提交于 2020-06-13 18:48:16
问题 Does anyone with IntelliJ & NetBeans experience know, if IntelliJ has some similar feature as for NetBeans "Make controller" when right clicking the corresponding FXML file? I think it is pretty important since it updates, if I have added something new (a FXID for example), and if I deleted it and such - and also places it in the correct place by itself. I know you, in Scene Builder, can go to "View -> Show Sample Controller Skeleton" , but this is just not enough automation, especially not

How to use WSL as default terminal in WebStorm or any other JetBrains' products?

蹲街弑〆低调 提交于 2020-06-09 08:24:14
问题 I am currently using Windows 10 with WSL Ubuntu 18.04 installed. I am trying to use WSL as the default terminal in WebStorm however, I am able to use the bash from WSL but the default directory would not be set to the default project location. Does anyone know how to set this up correctly? 回答1: After a bit of search on google found a solution to my question. First figure out the default wsl with the command: C:\Windows\System32\wslconfig /list Windows Subsystem for Linux Distributions: Ubuntu

How to use WSL as default terminal in WebStorm or any other JetBrains' products?

夙愿已清 提交于 2020-06-09 08:23:30
问题 I am currently using Windows 10 with WSL Ubuntu 18.04 installed. I am trying to use WSL as the default terminal in WebStorm however, I am able to use the bash from WSL but the default directory would not be set to the default project location. Does anyone know how to set this up correctly? 回答1: After a bit of search on google found a solution to my question. First figure out the default wsl with the command: C:\Windows\System32\wslconfig /list Windows Subsystem for Linux Distributions: Ubuntu

PyCharm run configurations not on main window

一曲冷凌霜 提交于 2020-05-29 09:58:30
问题 PyCharm Community Edition as shown below on Ubuntu 18.04 box. Notice the run configurations dropdown is not on my main window Searched docs/settings/views and can't figure out how to get it attached to the main view. Anyone else have this issue? 回答1: Thanks @LazyOne, your answer brought my attention to the navigation bar; however, when I enabled it as you suggested it was still hidden. This seems to be a known issue in IntelliJ with a known solution. I had to edit the PyCharm config file ~/

CLion not running in Terminal

旧时模样 提交于 2020-05-16 21:58:15
问题 There's this bug with the placement of certain characters in the embedded terminal in CLion (the Run tab that pops up when you click the Run button), and I figured out that if I changed the terminal in CLion, that wouldn't happen. I changed the terminal to cmder, and it is all working now, except one thing: I can't figure out how to make CLion run the program to that terminal. I tried changing the configuration, but all it did on run was open cmder but not execute the program (I had to run it

IDE update changed font, how I can reset the font back?

僤鯓⒐⒋嵵緔 提交于 2020-05-15 19:06:29
问题 I just updated PyCharm this month, April 2020, and after updating the font changed to this strange font. In Editor -> Font -> Font I have it set to Jetbrains Mono, this isn't Jetbrains mono though. I tried switching to a few other fonts, but it seems to be stuck on this one. Any idea how to fix this? 回答1: Default fonts used before 2020.1 version depending on the OS: public final static String FALLBACK_FONT_FAMILY = "Monospaced"; public final static String MAC_OS_DEFAULT_FONT_FAMILY = "Menlo";