I want to really learn which IDE can do continual splitting?
What about "Continual Splitting"?
Try this:
Open a new file on open office writer. Paste into a long code, than do it:
View -> Zoom -> Columns : 2
If you dont do that you can't understand what i need. I know almost all IDEs can split but i dont need standart spliting.
Related
In IntelliJ IDEA, when I press Alt-F7, it loads a list of usages of whatever I'm highlighting; it's a nice list feature that allows me to jump around various lines of code that are of interest.
I'm interested in doing that in a more abstract way. If I write a script that analyzes code and spits out a list of files and line numbers, I'd like to be able to navigate those in a similar fashion. Similar to Vim's quickfix feature (and I'm sure other text editors support this sort of thing).
Example output:
project-a/src/main/java/com/example/Foo.java:34
project-a/src/main/java/com/example/Foo.java:66
project-b/src/main/java/com/example/Bar.java:198
Does IntelliJ support loading this as a list of locations? If so, how?
The case in particular I have is that I wrote a script that looks for throw statements inside a catch block that do not reference the caught exception. So I can output the locations any way that IntelliJ likes to see them.
You can set up an external tool that will run your script, and configure an output filter to turn its output into clickable links. It won't look like the usages view, but it's the simplest thing you can do.
Alternatively, you can convert your script into an IntelliJ inspection, which will let you see its results directly as you're editing code, or run Analyze | Inspect Code to get a summary of the results across your project.
I have several files open in a split view in the intelliJ IDEA. Is there a way to save this setup (ie: which files are open and witch side of the split view they are on)?
I am hoping to work on some other aspects of the program for now, but will need to return to this view/setup periodically.
I have looked under Window | Editor Tabs but could not find anything there.
As pointed out by CrazyCoder in the comments, this feature does not yet exist in intelliJ. There is a related feature request here:
https://youtrack.jetbrains.com/issue/IDEA-12130
Do this in VS 2010 with VB.NET:
On a blank line, type anything that isn't a variable, property, method, etc. I will use woo as an example.
Hit Enter or move the cursor up or down a line.
VS will add parenthesis to the end of it, turning it into woo().
Annoying, isn't it? Now insert foo in front of woo(), separated by a space like this: foo woo().
Move the cursor up or down (don't use Enter). VS turns it into foo(woo()), somehow drawing the conclusion that you want to pass woo() through foo(). What gave it that idea?
I know that the IDE isn't a text editor, but there are many times when I will want to paste in some text from a business requirements document or even some SQL and then comment it out after the fact. c# is great for this since it never assumes that I am trying to do anything, but the VB.NET IDE ends up parsing the holy love out of whatever block of text I paste into it and I end up having to edit out everything it added in.
Why does it do this? Can I tell it not to?
Unselect Pretty listing (reformatting) of code. You can find this under: Tools -> Options -> Text Editor -> Basic -> VB Specific
I've just upgraded to IntelliJ IDEA 10, and it has started doing something extremely annoying. While writing documentation in a .txt file it has started giving me word suggestions as I type. This is, instead of helping, just irritating me while also consuming system resources. I haven't been able to find a way to turn this off in the Settings window. Perhaps there's a way of telling Idea not to do this for certain file types or in code comments?
Goto
Settings/Preferences -> General -> Editor -> Code Completion
and untick Show the parameter info popup to something like 1000 (ms), then it give you time to carry on typing before the pop up.
Or disable settings such as Show suggestions as you type
For intelliJ 2016.2.2, it defaults to auto insert code suggestions which is very annoying. Even when typing space, it overrides what I'm typing and puts something random in. Here's the solution:
Go to Settings > Editor > General > Code Completion
Then, UNCHECK the box that says "Insert selected variant by typing dot, space, etc." See screenshot below
You are not alone, please watch/vote for IDEABKL-5963.
I use ctags with my Vim and I rely heavily on C-] and C-T to tag back and froth between various functions in my project.
But if the function is in a different file, I'd like Vim to automatically open it in a new tab instead of the current tab. If I pop my tag stack using the C-T, I'd like it go back to the original tab where I pressed by C-] instead of changing the file in the current tab. I don't like to have the same file opened in multiple tabs in Vim. This is the normal behavior for most IDEs and I am wondering if there is a way to do this in Vim?
nmap <C-Enter> <C-w><C-]><C-w>T
Does this help ? You could probably figure out something similar for the way back.
Well, we need to decide what would be the wanted behaviour. We can go back to the original tab (not sure how, still investigating) but then the above given mapping is gonna open a new tab next time. So you'll end up with a lot of tabs after a while.
Or we can do <C-w>C, which will close the opened tab and take us back to the original one. I, personally, prefer this way of working (that way I don't lose my position in the file)
I go to the function I want, make my corrections there then return to the original file from which I started.
Let me know, what would you like (this didn't fit in comments so I put the answer here).
This might point you in the right direction:
http://vim.wikia.com/wiki/Open_every_buffer_in_its_own_tabpage
So, this is a feature I would like to see as well.
I'm not sure if it's possible.
What I usually do is
:tabnew
:tag somepartsoffunction*
and press tab to use globbing to easily find tag.
Sure, it's not an ideal solution, but it works most of the time.
Unfortunately, with VIM tabbing isn't totally integrated since it's a new feature since 7.0. Most people I know that use VIM weren't even aware of tabs until I told them, so with that, I have a feeling there is no way to do it right now.
(I would love to be proven wrong)