text-editor

Visual Studio HTML designer adds a <p></p> every time I switch to design view, I end up with a gazillion lines

I use split view, whenever I change the HTML code and switch to design view (clicking that popup "Design view is out of source view blah blah") VS adds 3 lines to the HTML. eventually it has many many lines which is very annoying to code like this. Has enyone encountered this before? ...

How to detect previous state of text field in C#?

I'm coding a simple text editor using Windows Forms. As in many editors, when the text changes the title bar displays an asterisk next to the title, showing that there is unsaved work. When the user saves, this goes away. However, there is a problem. This is handled in the change event of the main text box. But this gets called too when...

Recommendations for Windows text editor for R

Any recommendations for a good Windows text editor for R? I've been using Tinn-R, and it's been working reasonably well, but am curious to know what else people use. ...

Vim plugins/features you'll die without?

Possible Duplicate: Favorite (G)Vim plugins/scripts? I mostly do front end development and I'm wondering what sort of plugins others have grown accustomed do, that has helped them in their career. I'd greatly appreciate ones related to editing say xml/html markup, plugin to jump back and forth between start/end tags, maybe autom...

In NetBeans IDE, is there a key combo to select up or down many lines?

I always run into this situation: cursor is on line 5 and I want to select everything down to line 16. I have to resort to shift-arrow, arrow, arrow, or use the mouse. NetBeans has "go to line" (Control-G) but you can't hold down shift while doing that, so no good for selecting. There's also "bookmarks," but same problem. Anyone know o...

How to indent jsp pages in eclipse

just started working with jsps and my pages look awful. Please suggest a way to have them indented. thanks ...

What is the best text editor for web development?

Hello, I've been using dreamweaver since I started learning basics in html like a year ago, and now I would like to change to a free alternative, since I don't need the WYSIWYG and other dreamweaver functions anymore. However, I have tried Notepad++ and first it seemed great, but it sometimes crashes after not being able to connect to f...

Alternative to TextPad's Prompt to Reload File

I have been using TextPad for years and I am happy with it except for one issue. I use it to monitor log files that are updated in near real time. Every time the log file is updated TextPad prompts me to reload it. Essentially I want to force the yes button at all times and never see the prompt. I submitted a change request at their site...

Intellij IDEA way of editing multiple lines

I've seen this done in TextMate and I was wondering if there's a way to do it in IDEA. Say I have the following code: leaseLabel = "Lease"; leaseLabelPlural = "Leases"; portfolioLabel = "Portfolio"; portfolioLabelPlural = "Portfolios"; buildingLabel = "Building"; What is the best way to append '+ "foo"' to every line? Column mod...

can some one recommend a rich text editor that's easy to customize ?

Should be light and easy to add new menus to, like the one provided by SO here ...

VS2008 copies to clipboard on double-click

Hello, since some days ago I have a problem with VS2008 in a daily task. Every time I double click a word in the text editor, it goes automatically to the clipboard (as if I pressed CTRL+C after the double-click), which is really annoying. I've googled but I found nothing. I've search through VS2008's options and found nothing. I don'...

how to avoid accidentally killing text in emacs?

I have a highlighting mode (forget what it's called) that shows me, through highlighting the text, what region I have selected between mark and point. this comes in very handy when killing regions. However, sometimes, even when no text is visibly highlighted but i accidentally press C-w it still occasionally kills some text. My question ...

Opening a temporary buffer / scratchpad in Netbeans?

I often have to open a secondary editor outside of Netbeans in order to work on temporary bits of text outside of my project files. Is there a way to create temporary files in Netbeans without adding them to a project? File -> New expects every file to be part of a project. ...

Editors with MiniMap like Sublime Text

Are there any other editors other than Sublime Text with the MiniMap feature as seen bellow? The reason why I'm asking this because Sublime Text isn't cheap for a text editor and besides I've tried the trial version and it still has some bugs and some important features like code folding are still missing. I've come to enjoy the Mini...

Regular expression replace

I have to replace "something" in file with :something. My editor is kate can anyone suggest a search expression and placeholder for that. Example Input "code" "name" "remark" Output :code :name :remark ...

Editor to select text that is inside a rectangle

Often I find myself with some text where I want to exclude a certain part of the text, say the first three characters of 40 lines. The fastest way I could think of to do this would be to draw a rectangle and copy the text. I am mostly using Windows, but I am sure grep or something similar could do this with a tiny bit of code. My best wa...

Identifying Identical Blocks of Code

Say I have multiple blocks of the following code in a file (spaces is irrelavent): sdgfsdg dfg dfgdfgf ddfg dfgdfgdfg dfgfdg How do you find/highlight all the occurrences? What I ideally want to do is to visually select the code block and then press search to find all occurrences. ...

Multiple Language IDE

I've been using Notepad++ for years and although it is comfortable I am feeling the need to move up into the IDE world for various reasons, which I'll outline below. I am looking for IDE recommendations for someone who works in multiple languages on a daily basis - I am currently looking at Eclipse and Netbeans but willing to consider an...

How do you replace a word occurring on consecutive lines?

I usually either end up using [range]%s/word/another_word/gc or do it manually. I wonder if you guys use a different, perhaps a faster, way. Assume that I have vim 7.2. ...

A mock code editor program for C# code

Hello everyone, Can someone advice me an editor which indents code? I need an editor for just writing code syntax and mock code...but it should get formatted. I'm not looking for advanced editors like Visual Studio or Eclipse that look through the meaning of the code to show compilation errors. I just need auto formatting and coloring ...