text-editor

Intelligent file search for windows that can ignore whitespace and search in code?

给你一囗甜甜゛ 提交于 2019-12-10 18:03:36
问题 Does anybody know a Windows based searching tool that is easy to use and is programmer friendly. The functions I am looking for: Ignore white space in search = capable to find myTestFunction ( $parameter, $another_parameter, $yet_another_parameter ) { doThis(); using the query myTestFunction($parameter,$another_parameter,$yet_another_parameter){doThis(); without Regexes. Search code "semantically" (for me, it would have to be PHP): Search in comments only Search in function names only Search

Using Rstudio as an IDE for other programming languages (Stata)

删除回忆录丶 提交于 2019-12-10 14:42:51
问题 I love the Rstudio IDE and the easy point click git(hub) integration. Can I use Rstudio as an IDE for other programming languages? In particular, besides R/Rstudio, I use Stata a lot. Stata is great, but the programing environment (do file editor) is years behind. According to this guide, Stata can be set up to run from other text editors (Emacs, etc). Could I set it up to run from Rstudio? Can Rstudio support syntax highlighting for Stata language? If so can I add a shortcut or command in

Why do we use fixed-width fonts in our IDEs? [duplicate]

余生长醉 提交于 2019-12-10 14:18:49
问题 This question already has answers here : Closed 9 years ago . Possible Duplicate: Why use monospace fonts in your IDE? Virtually all coders (and code editors) use fixed width fonts. Why is this? 回答1: ask those guys. 回答2: Probably because it makes the code easier to scan - you have "blocks" of code, ie. text that lines up vertically far more often than you would in normal prose. If the font is not fixed width than it wouldn't be visually aligned. 回答3: It greatly enhances readability -

Rationale of choosing difference new line representation by Unix, Mac, DOS/Windows?

无人久伴 提交于 2019-12-10 12:58:09
问题 Does anyone know the original rationale, or story, of the different platforms each choosing a different, yet similar to some degree, new line representation? There must be some design decisions made originally. (I don't believe this is all random choice ...) Unix/Mac OS X: LF (\n) Mac OS 9 and before: CR (\r) DOS/Windows: CRLF (\r\n) 回答1: Jeff Atwood posted on this very topic in "The Great Newline Schism" Wikipedia covers the history of newline. In short, CR+LF is a reference to the electric

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

孤者浪人 提交于 2019-12-10 11:11:06
问题 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? 回答1: 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").

vb.net/C# code editor with color coding [closed]

谁说胖子不能爱 提交于 2019-12-10 10:18:51
问题 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 . Are there any winforms source code editor controls available with color coding ? pref. open source I seem to recall having come across something like that previously but can't seem to recall it ? 回答1: I believe that Scintilla is an open source syntax-highlighting editor component. There is an open source .Net

Using vim, how do you quickly refresh a web page you're working on?

…衆ロ難τιáo~ 提交于 2019-12-10 09:53:09
问题 I've been using VIM for a few weeks now while messing with various web languages and I'm really enjoying it. I find it cumbersome having to tab or click into my browser and refresh the page to see the effect of a code change. It's even more annoying as I'm using Virtual Box and I tend to be working from PDF files on the host system so I have limited window space. Do you gurus have any fancy ways of doing this? I was wondering if it's possible to split the VIM workspace and have links/lynx in

Ubuntu Eclipse : Backspace key started working like Delete key

徘徊边缘 提交于 2019-12-10 02:21:17
问题 I am working on Eclipse, backspace key works all fine but suddenly it's started working like delete key (When press backspace we expect to delete backward characters but its deleting front characters). Is their its an Eclipse functionality? or bug I am not sure. If functionality then let know how to make it correct. It's really a weird type of issue. Not able to work smoothly. 回答1: Got solved: Go to "Window -> Preferences". Then inside the tree navigate to "General -> Keys". In the right side

Open Atom editor from git shell

。_饼干妹妹 提交于 2019-12-10 00:45:57
问题 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. 回答1: 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]

Replace in multiple files - graphical tool for Linux

天大地大妈咪最大 提交于 2019-12-10 00:42:55
问题 It needs to be graphical. No sed, awk, grep, perl, whatever. I know how to use those and I do use them now, but I need to cherry-pick each replace in 300+ files. I want a tool where I can: type a search string type a replace string select a directory and file extension and it would recursively go into each file in that directory and its sub-directories, open it and scroll to the place where search string is and offer two options: replace (and find next) find next Nothing more. Reg.exp.