jetbrains-ide

How to force Android Studio to start with the welcome screen?

非 Y 不嫁゛ 提交于 2019-11-30 10:21:11
问题 is it possible to let Android Studio start into the welcome screen instead of directly loading the last recent project? I´ve not really the fastest pc and I often need to switch between projects, its really annoying sometimes. 回答1: Go to (as of July 25, 2015) File -> Settings -> Appearance & Behavior -> System Settings -> Un-check "Reopen last project on startup" -> Click apply (old version) File -> Settings -> General -> Startup/shutdown -> Reopen last project on startup. Un-Check the

How to indicate the a variable should be edited first

落花浮王杯 提交于 2019-11-30 09:30:55
问题 I have the following live template: import {$NAME$} from "$PATH$"; $END$ When it's inserted into an editor, the order of inputting variables is defined as: import {1} from "2"; Is there any way to change it to: import {2} from "1"; ? 回答1: Just use Edit variables button when editing that Live Template and then use Arrow Up & Arrow Down buttons to rearrange them -- make PATH variable first in the list. 回答2: If you type the word that generates this code for example import , it puts the cursor at

How to disable special naming convention inspection of PEP 8 in PyCharm

徘徊边缘 提交于 2019-11-30 07:57:15
I installed PyCharm and enabled pep8 checks in Inspections . If I write: def func(argOne): print(argOne) The IDE shows me this warning: Argument name should be lowercase There is no option to ignore only such inspection. I cant find such error number to ignore in pep8 here are all the naming inspections. how to ignore only some of them? I need this because the current project coding guidelines must be kept. It's too hard to change the guidelines of the whole project. I need to disable only some naming inspections. Not all like by "Settings"-> "Editor"-> "Inspections"->"PEP8 coding style

What is a purpose of Lambda's with Receiver?

家住魔仙堡 提交于 2019-11-30 05:04:28
What is a purpose of Lambda's with Receiver in Kotlin, while we have extension functions ? Two functions below do the same things, however first one is more readable and short: fun main(args: Array<String>) { println("123".represents(123)) println(123.represents("123")) } fun String.represents(another: Int) = toIntOrNull() == another val represents: Int.(String) -> Boolean = {this == it.toIntOrNull()} Lambdas with receivers are basically exactly the same as extension functions, they're just able to be stored in properties, and passed around to functions. This question is essentially the same

IntelliJ autocompletion replacing the subsequent word

亡梦爱人 提交于 2019-11-30 04:49:27
I've been using IntelliJ for a while now, but there's always been something that bothers me. Its to do with the autocomplete feature. This gif should be enough to illustrate. In essence, when typing a word next to another one (that is with no space in between) regardless of the two words or the context, be it keywords or variables, the autocomplete will replace the next word by the one you complete with. I/m surprised that IntelliJ doesn't have a setting for that (at least not that I'm aware of) considering Eclipse does... Thanks in advance! This behavior depends on the key that you use to

Intellij 13 Auto doc pop up on mouseover solution doesn't work anymore [duplicate]

穿精又带淫゛_ 提交于 2019-11-30 03:51:39
问题 This question already has answers here : IntelliJ show JavaDocs tooltip on mouse over (19 answers) Closed 4 years ago . I have been using this solution for IntelliJ 12 for auto popup quick documentation on mouse over. But the new version of IntelliJ 13 does not do anything when you set the auto.show.quick.doc=true in the idea.properties file. Any Ideas to get this to work for version JetBrains IntelliJ 13? 回答1: For ItelliJ IDEA 13 the setting auto.show.quick.doc=true property in the idea

How to force Android Studio to start with the welcome screen?

百般思念 提交于 2019-11-29 20:06:38
is it possible to let Android Studio start into the welcome screen instead of directly loading the last recent project? I´ve not really the fastest pc and I often need to switch between projects, its really annoying sometimes. pyus13 Go to (as of July 25, 2015) File -> Settings -> Appearance & Behavior -> System Settings -> Un-check "Reopen last project on startup" -> Click apply (old version) File -> Settings -> General -> Startup/shutdown -> Reopen last project on startup. Un-Check the checkbox. Or, on the Mac, Preferences -> General -> .... It is now not under File, but in the main menu,

How to make phpstorm display line numbers by default?

血红的双手。 提交于 2019-11-29 18:53:31
How to make phpstorm display line numbers by default? Couldn't find that option. It's kind of annoying to turn them on manually for each page. CrazyCoder Settings (or Preferences if you are on Mac) | Editor | General | Appearance and check Show line numbers . Just now found where is it on Windows . Its View -> Active Editor -> Show Line Numbers (changes only for current document) and File -> Settings -> Editor -> Appearance -> Show Line Numbers (for all documents) For Mac Version go to PhpStorm -> Preferences in menu. In the preference window go to IDE settings -> Editor -> Appearance -> Show

How to indicate the a variable should be edited first

痴心易碎 提交于 2019-11-29 16:08:00
I have the following live template: import {$NAME$} from "$PATH$"; $END$ When it's inserted into an editor, the order of inputting variables is defined as: import {1} from "2"; Is there any way to change it to: import {2} from "1"; ? Just use Edit variables button when editing that Live Template and then use Arrow Up & Arrow Down buttons to rearrange them -- make PATH variable first in the list. If you type the word that generates this code for example import , it puts the cursor at {$NAME$} , type 2 , then TAB and the cursor will start at $PATH$ and type 1 Then TAB and finally type ? 来源:

___jb_bak___ and ___jb_old___ files in PyCharm

落花浮王杯 提交于 2019-11-28 22:22:06
问题 When I got some PyCharm project from my colleague I saw some backup files of *.py files. This files have types: *.___jb_old___ and *.___jb_bak___ . I open the files in Notepad++ and see that these are identical backup files of the corresponding *.py files. I asked my colleague, but he didn't know what these are. Why are there TWO identical backup files for each *.py file? How can I tune PyCharm? We want to turn off this backup. Google gave me nothing :( 回答1: You can disable "safe write" Use