jetbrains-ide

RubyMine doesn't recognize my Ruby installation path

谁说我不能喝 提交于 2019-12-11 08:38:13
问题 I've made a custom sient installer of Ruby 2.0 with some gems and extras , my installer expands all the Ruby files to c:\Program Files (x86)\Ruby , the interpreter ( ruby.exe ) is in the Bin folder, all is as normally but just it's not an original installation, I expand the files and I add the registry keys to associate files by my own, I can run Ruby as normally ever I want. Now, is the first time that I try the JetBrains RubyMine IDE, and I can't found a simple guide which explains how to

Rubymine: Change Code Language

北城以北 提交于 2019-12-11 08:16:26
问题 I'm working with a file that is one type (php), but the code is predominantly another language (html). Is there a way that I can switch the syntax highlighting (if that's what it's called) from php to html? 回答1: associate *.php as PHP files, and DONE 来源: https://stackoverflow.com/questions/25315342/rubymine-change-code-language

How do you restore from a old __jb_bak__ or __jb_old__ file

穿精又带淫゛_ 提交于 2019-12-11 05:34:04
问题 How can one get the backed up file from an old jb_bak or jb_old intellij file. I recently found the jb_bak of a deleted file(.java) which wasn't recoverable using Local History how can I get this file back to its original state from the jb_bak 回答1: Just change the extension of the file to the required one. If it is a backup of .java , changing the extension to .java should work. These files are produced by safe write, when IntelliJ first saves contents to a temp file and then renames it. 回答2:

Git Integration plugin absent from Datagrip?

徘徊边缘 提交于 2019-12-10 14:54:18
问题 There is something I don't understand... I can't find the "Git integration" plugin anywhere in DataGrip 2016.3.3 (JetBrains IDE). PyCharm is installed on the same machine and it has the Git Integration plugin. I also have DataGrip installed on another machine with the plugin. But on this machine right now, no Git Integration... It's not even in the plugins repositories. I tried uninstalling, re-installing, updating but no luck. Here is a extract from the idea.log 2017-02-22 07:49:09,886 [

How to use Bitbucket as a repository in IntelliJ

狂风中的少年 提交于 2019-12-10 13:53:56
问题 I have tried to add Bitbucket as a repository in IntelliJ (here). However, I came across errors pushing code. I figured out that Bitbucket only allows reading when using access keys. So, I found a plugin that allows IntelliJ to communicate with Bitbucket. But, this plugin has been discontinued. Is there any other way to use Bitbucket with IntelliJ? 回答1: Bitbucket is just Git. IntelliJ supports Git. You are in the wrong section of Bitbucket. You don't want an "Access key" you want to add an

How to immediately see Swift errors in AppCode?

依然范特西╮ 提交于 2019-12-10 04:09:56
问题 Is there a way to immediately see Swift errors in AppCode? On their website they talk about static code analysis, but nowhere could I find a claim that this happens instantly. When you type some Swift code in Xcode you usually see warnings, errors etc. immediately. In AppCode I first have to make the build ( ⌘F9 ), then go through the list in the Messages Build view (which got way nicer in AppCode 2016.01 RC2): I find this tedious, especially when you make some small typos that lead to syntax

CLion inconsistent auto indentation for line comment

喜欢而已 提交于 2019-12-09 13:33:05
问题 There are some weird auto indentation going on in CLion that I don't understand why. Here is an example int i1(5); // some comments, then I hit Enter // auto indentation goes here. I hit Enter again // It goes here float f = 5; // some comments, then I hit Enter // then auto indentation goes here. I hit Enter again // It then goes here. float f2 = 6; // If I don't comment on the previous line, there is no weird indentation It seems like whenever I use = to initialize an variable, and then add

PyCharm Django project fails to run with debugging

牧云@^-^@ 提交于 2019-12-09 12:55:52
问题 For quite a while I have this weird problem on my Windows 10 machine. When trying to launch a Django server with (and sometimes even without) debugging on PyCharm, I get this error: ... pydev debugger: process 10532 is connecting Connected to pydev debugger (build 163.8233.8) Process finished with exit code -1073741819 (0xC0000005) That's how it looks without debugging: "C:\Program Files (x86)\PyCharm\bin\runnerw.exe" D:\project\env\Scripts\python.exe D:/project/manage.py runserver 80 Process

PyCharm - Have author appear before imports?

心不动则不痛 提交于 2019-12-09 09:30:31
问题 When you create new python files and add new imports, PyCharm will automatically add the imports and __author__ tag whenever it can by itself. However, by default the __author__ tag will always appear below any imports. It seems to me that the __author__ tag should be up at the top of the file where I would also put things like docstrings. This way everything describing the file is at the top, then the actual code (including the imports) is below that. So two questions: Is there a good reason

JetBrains Resharper 9 Ultimate Test Runner error: NUnit.Core.UnsupportedFrameworkException: Skipped loading assembly {MyAssembly}

我只是一个虾纸丫 提交于 2019-12-09 02:10:39
问题 This seems to be an error with the JetBrains Resharper 9.1 Ultimate Test Runner referencing an older version of NUnit. I am using NUnit 3.0 in my assembly. [Window Title] Unit Test Runner [Main Instruction] Unit Test Runner failed to run tests [Expanded Information] at NUnit.Core.Builders.TestAssemblyBuilder.GetCandidateFixtureTypes(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder.GetFixtures(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder