editor

Is it possible to achieve the so-called “distraction free mode” in Vim?

雨燕双飞 提交于 2019-12-21 04:42:20
问题 Just curious, kinda like the "distraction free mode" of editors like sublime text, is it possible to centroid all the text to the middle of view field? It's always annoying to stare at the left-most end of the vim terminal in fullscreen mode with a widescreen monitor. 回答1: You could take a look at VimRoom: http://projects.mikewest.org/vimroom/ Alternatively, you could set Vim up to have two or more vertical windows on your widescreen and have the same buffer automatically "snake" between them

eclipse plugin for rectangular select/cut/paste regions?

佐手、 提交于 2019-12-21 04:03:18
问题 Does anyone know of an Eclipse plugin to do selection by rectangular region rather than the "normal" selection? (difference illustrated below) the asterisks here represent a "normal" selection region ***** ************ ****************** ***** and can all be selected as one block of text here is a ************* rectangular selection ************* region that I wo ************* uld like to be able to select and delete 回答1: Edit: Eclipse 3.5 has this built-in, so a plugin is now unnecessary.

Vim : Highlight the word TODO for every filetype

守給你的承諾、 提交于 2019-12-21 03:36:11
问题 I would like to highlight the word TODO in vim, no matter what file is edited (code or normal text). It currently works for many different languages (for example, TODO is highlighted in C/Java comments by default), but I use vim for non-code text files and I would like to see the TODOs highlighted for them too. What is the easiest way to do that ? 回答1: Highlighting TODO for every filetype and without possibly breaking other syntax rules can be done only by using :match / matchadd() : augroup

Reasons for using command line Vim versus GUI Vim [closed]

北城余情 提交于 2019-12-21 03:29:07
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Background I'm building an application where it detects what documents you're using from the file system. To do this it must access

Pseudo Code Editor [closed]

試著忘記壹切 提交于 2019-12-21 03:27:33
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Is there an Open Source "Pseudo Code" Editor with "Syntax Highlighting" and "Auto Complete"? Maybe even a pack for Notepad++ or any

Make 'n' always search forwards, regardless of whether / or ? was used for searching

旧城冷巷雨未停 提交于 2019-12-21 00:27:11
问题 I almost always search in Vim with / , and then continue searching forwards with n and backwards with N . Sometimes, however, I use ? to jump to an item just a few lines above the line I'm currently at, and in that case, if I want to search the same item forwards, I have to use N instead of n , an annoying mental speed bump. So my question is: is it possible to make n always go forwards, and N backwards? P.S. Documentation seems to hint that it's not possible, since n simply "Repeats the

Vibrant Ink theme for IntelliJ IDEA

你离开我真会死。 提交于 2019-12-20 19:56:38
问题 I've been trying unsuccessfully for about the last hour to find a ported version of the Vibrant Ink theme for IntelliJ IDEA. Can't find a working link to it anywhere! Does anyone else use this theme for IDEA and if so do you know where to get a ported version of it? 回答1: I download and install "Dark Pastels theme for IntelliJ IDEA" from http://tedwise.com/2009/02/26/dark-pastels-theme-for-intellij-idea/ - works fine on both Idea 8 and 9! It looks little different to classic Vibrant Ink, but

Where can I find Qt4 source code editor widget? [closed]

拈花ヽ惹草 提交于 2019-12-20 19:42:03
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I want to provide a QtScript source code editor in my application. It would be great if this would have source code highlighting and auto completion. So I don't want to reinvent the wheel: Is there already a quite good widget for that? I could not find anything on Google... 回答1: See QScintilla. It has Javascript

Creating a 'Custom Designer' Visual Studio 2010 Add-in

柔情痞子 提交于 2019-12-20 18:38:28
问题 A major part of our work is creating and manipulating certain XML files, for which have a custom editor. The editor is starting to get creaky and we are looking at building a replacement. Since VS2010 has recently arrived, ostensibly with an improved add-in architecture (MEF?), I am interested in the possibility of building the editor as a custom editor within Visual Studio . It would have to appear in the same way as the code editor or the Designer - a tab item, of which there can be many

Visual Studio Crash when typing in editor

穿精又带淫゛_ 提交于 2019-12-20 18:31:36
问题 I have been using VS2010 for a few weeks but for the past few days it has been totally unusable, when i type anything into the editor Visual Studio throws an exception, then I get lots of intellisence errors (the code is fine, I can compile it if I run before trying to use the editor) - here is the log message: <entry> <record>241</record> <time>2011/01/25 08:30:34.109</time> <type>Error</type> <source>Editor or Editor Extension</source> <description>System.InvalidCastException: Unable to