text-editor

Emacs session / projects / window management

泪湿孤枕 提交于 2019-12-07 05:42:04
问题 I am working with Ruby on Rails projects most of the time so I need a way to save projects and the state of the buffers/windows I am working on, mostly because I often find myself switching to a different project for a few minutes and then going back to the project I was working on. Desktop.el seems to be very close except for the window configuration saving. For those familiar with TextMate, I'm looking for something like the textmate project files that you can open and they open a different

Block selecting text or selecting multiple text at once

℡╲_俬逩灬. 提交于 2019-12-07 05:37:16
问题 Does Visual Studio (any version) offer the ability to select text in either a block or select several snippets at once, to either change or delete? To be clear I'm referring to the actual text-editor interface. 回答1: you can certainly do block selection by hold down the Alt key while doing a selection 回答2: Go to opening or closing brace and press Ctrl+Shift+]. 来源: https://stackoverflow.com/questions/4619432/block-selecting-text-or-selecting-multiple-text-at-once

What's a Windows text editor that matches this criteria [closed]

非 Y 不嫁゛ 提交于 2019-12-07 03:54:06
问题 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 6 years ago . My Situation: I love e editor, however I'm on a new computer and my license is being used on my old one. I can't exactly afford another license, so I'm looking for a free editor that meets the follow criteria: Decent syntax highlighting Ability to view a directory and its contents on the side panel, without the

Kate text editor cannot handle lines longer than 1024?

寵の児 提交于 2019-12-07 02:33:49
问题 This is a very annoying limitation for editing some config files, such as mozilla prefs.js . It usually contains lines longer than that. 回答1: This is a well know "security option", it is configurable: Go to: Settings / configure editor / open and save set line length limit [ 1024 ] and change 1024 回答2: If you are against VIM and EMACS (give them a try), there's gnome's alternative Gedit, then theres also the lightweight IDE Geany, and Mousepad, and there are the full fledged IDEs like Ajunta,

Editor to select text that is inside a rectangle

风格不统一 提交于 2019-12-06 19:46:00
问题 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 way of doing this is to open Command Prompt. Then run "Edit" (yes the good old one). Then paste the text in there (this actually takes a significant amount of

Workspace Editor Macros in Eclipse

扶醉桌前 提交于 2019-12-06 14:46:39
Is there a way to record permanent workspace macros in Eclipse and assign them a shortcut key or template? I'd like to automate some of the actions I routinely do. Workspace editor templates are not a solution since I need to include some conditional logic as well. For example check what is a symbol to the right/left of the cursor. Gábor Lipták See my answer at How can I launch more than one debug session in Eclipse from a single click? . The same plugin can work for you as well. 来源: https://stackoverflow.com/questions/4070390/workspace-editor-macros-in-eclipse

I get this window while editing Ruby Files in Vim. What is it?

杀马特。学长 韩版系。学妹 提交于 2019-12-06 07:48:43
I usually get this new window open up suddenly while I am editing a Ruby file in VIM. This is getting irritating because, i cant type in anything while its processing. And it usually happens arbitarily. Does any one here know which plugin could be doing this? Or is this somekind of VIM's process? This is happening when you hit K in normal mode. K Run a program to lookup the keyword under the cursor. The name of the program is given with the 'keywordprg' (kp) option (default is "man"). The keyword is formed of letters, numbers and the characters in 'iskeyword'. The keyword under or right of the

How can I set up Eclipse to edit Perl without the runtime checking?

老子叫甜甜 提交于 2019-12-06 07:34:34
问题 I'm working on a project that include both Java (on the client side) and Perl (on the server side), and I would really like to use Eclipse to edit my Perl scripts instead of going to another editor. I've tried to use the EPIC plugin. However, I have no way of setting up a run environment for these scripts on my local machine, so the plugin displays all kinds of errors related to missing libraries and other external dependencies. I just want a text editor with nice syntax highlighting for Perl

Good & Free Editor in Mac OS with highlighting and side-by-side editing/comparison [closed]

牧云@^-^@ 提交于 2019-12-06 03:35:40
问题 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 . Good & Free Editor in Mac OS with highlighting and side-by-side editing/comparison. I need it for: XML, C++ and PHP. Thanks in advance. 回答1: MacVIM (or standard Unix VIM) works well. It performs syntax highlighting for the above languages and will do side-by-side diffing. 回答2: Check the answers given in What is

How do shell text editors work?

元气小坏坏 提交于 2019-12-06 00:58:40
问题 I'm fairly new at programming, but I've wondered how shell text editors such as vim, emacs, nano, etc are able to control the command-line window. I'm primarily a Windows programmer, so maybe it's different on *nix. As far as I know, it's only possible to print text to a console, and ask for input. How do text editors create a navigable, editable window in a command line environment? 回答1: By using libraries such as the following which, in turn, use escape character sequences NAME ncurses -