text-editor

Open Atom editor from git shell

*爱你&永不变心* 提交于 2019-12-04 21:17:21
i am using a win 8-X64 machine, with a 1.8 GHZ processor core i5, i have both the atom editor and git bash installed on this machine, is there any process by which i can start atom text editor from the Git bash shell or vice versa. If you want to associate atom with all git operations, run: git config --global core.editor "atom --wait" If you just want to edit files, add an alias in git: git config --global alias.edit "! atom" and now you can edit any file by calling: git edit [filename] Add atom.exe file location in Your Environmental variables. Follow These steps: step 1. Right click on Your

A text editor that auto-folds parentheses?

巧了我就是萌 提交于 2019-12-04 18:45:16
I have some big messy SQL procedures that I'm debugging, and they tend to have a lot of heavily nested parentheses: SELECT * FROM (SELECT F1,F2 FROM TABLE1 AS X LEFT JOIN (SELECT F9,F8 FROM (SELECT F13,F14 FROM TABLE4) AS J INNER JOIN TABLE3 ON...) AS B ON X.F1=B.F9) AS X1 I'm looking for an editor that can automatically mark and optionally collapse/fold each parentheses set to ease reading, e.g. SELECT * FROM ... AS X1 SELECT * FROM (SELECT F1,F2 FROM TABLE1 AS X LEFT JOIN ... AS B ON X.F1=B.F9) AS X1 I can do this in Visual Studio by repeatedly hitting ctrl-shift-] to select a set, and then

Indenting with white spaces, tabs, and how many spaces or the tab width [closed]

会有一股神秘感。 提交于 2019-12-04 17:13:33
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I know that this is more of a coding style, instead of a one right way of doing things. But, I'm a bit frustrated if I came across different indenting formats. But, I would like to hear the reasons by various people on these issues: Do you use spaces or tabs? Tabs with spaces? Any

Gedit adds line at end of file

泪湿孤枕 提交于 2019-12-04 16:48:36
问题 The answer to this must be somewhere but I'm not finding it -- can anyone help me understand why in Gedit, if I have a page of code there is no extra trailing blank line, but then when I do a file comparison for my svn commit it shows an extra line being added at the end of the file? I have a feeling that Gedit is automatically adding an ending line break. But why, I have no idea... 回答1: Reality finally won and it's been fixed, but the broken behavior is still the default; enable the WYSIWYG

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

怎甘沉沦 提交于 2019-12-04 14:18:49
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. Any suggestions? Any way that you can turn off the runtime error checking when using the EPIC plugin

What is the best text editor for web development? [closed]

自古美人都是妖i 提交于 2019-12-04 13:34:30
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . 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

Sublime Text 2 Highlight Gutter

北战南征 提交于 2019-12-04 11:50:32
问题 By default the line number / gutter area in sublime text 2 is highlighted when the caret is on that line. How can I turn it off? I see options to hide the gutter but I want the line numbers to be visible. Thanks. 回答1: To turn off line highlighting go to preferences>settings - User through the menus and add this line: "highlight_line": false, then save. I am using the default Monokai theme in linux, this will change it from: to: As you can see the line is no longer highlighted (it doesn't show

Is there a way to emulate ReSharper's “extend selection” feature in Vim?

霸气de小男生 提交于 2019-12-04 11:42:50
问题 ReSharper has a nice feature called "extend selection": by pressing CTRL+W (I think this is the default) repeatedly, you select more and more from your current caret location. First it's a word, then more and more words, a line, inner then outer block of lines (for example an if-block), then a function, etc... Basically, by pressing the key combination repeatedly, you can end up selecting the entire file. I'm sure at least some of you will be familiar with it. I have just started learning all

Text editor capable of viewing invisibles?

那年仲夏 提交于 2019-12-04 09:10:52
问题 A recent problem* left me wondering whether there is a text editor out there that lets you see every single character of the file, even if they are invisible? Specifically, I'm not looking for hex editing capabilities, I am interested in a text editor that'll show me all of the invisible characters (not just the common whitespace / line break characters). The BOM marker is just one example, others are e.g. mathematical invisibles or possibly unsupported characters. I'm not looking for a text

Text Editor with Scripting…for Linux

 ̄綄美尐妖づ 提交于 2019-12-04 08:20:46
For a while now, I have been using UltraEdit on my Windows box. The ability to write scripts with a familiar language (JavaScript) has proved to be extremely useful. The only problem is that I cannot use it on my Linux box at work. Is there a comparable text editor that runs on Linux and has an integrated scripting engine? Not breaking the bank and being cross-platform would be great. EDIT:While recordable macros are great, I use the scripting engine much more. All of the major open-source editors and most of the others hava a scripting facility of some description - some (Emacs in particular)