text-editor

Why can't turn off the Sublime 3 updates notification by adding “update_check”:false in user setting file?

做~自己de王妃 提交于 2019-12-03 23:55:27
I want to turn off the Sublime 3 updates notification, so I go to Preferences -> Settings-User and edited it like this: { "auto_close_tags": true, "font_size": 18, "hot_exit": false, "remember_open_files": false, "show_encoding": true, "update_check": false } but it doesn't work. There is no way to turn this off, unless you have registered your version of Sublime. Sublime Text 3 is still in "beta" status, so it is strongly advised that you upgrade when a new version is available to get the latest features and bug fixes. If you don't want to upgrade quite so often, make sure you are using the

Reduce left-margin in Visual Studio 2015

核能气质少年 提交于 2019-12-03 22:57:22
Please can anyone tell me how I can get rid of the margin at the left edge of the editor in VS2015? I don't mind the "indicator margin", but there is now a large space between that and the start of my code. In Tools-Options - Text-Editor - General - Display, I have the "Selection margin" turned off. Turning it on makes the gap even wider. I believe that the additional margin is used by the new "code assistance" light-bulb, which I would gladly turn off, but I cannot find an option for it. I have the Productivity Power Tools extension installed, but I don't think that this is responsible. I

Any In-place Javascript Rich Text Editor available? [closed]

拈花ヽ惹草 提交于 2019-12-03 20:39:29
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Are there any in-place editor in JS that supports Rich Text like TinyMCE / FCKEditor? e.g. of in-place editing (non-rich text): http://www.appelsiini.net/projects/jeditable/default.html Quog jEditable and TinyMCE together: Google is your friend! NicEdit is what you want I think, there are some demos available on the website. Can you not just use TinyMCE (/whatever), size it smaller, attach some

Visual Studio Code closes my file when I search for new ones

自闭症网瘾萝莉.ら 提交于 2019-12-03 20:33:44
问题 I'm using Visual Studio Code for working and I use ctrl-P command to search for files in my directory. The problem appears when I want to search for another file, it opens it in the place of the first searched file, closing it. Is any setting for avoiding this pain? 回答1: By default, VSCode opens files in preview mode. This is indicated by their name being italic in the menu bar. As John noted, you can double click on the file to fully open it. To disable this behavior, try setting: "workbench

Add quotation at the start and end of each line in Notepad++

折月煮酒 提交于 2019-12-03 18:18:21
问题 I have a list (in a .txt file) which I'd like to quickly convert to JavaScript Syntax, so I want to take the following: AliceBlue AntiqueWhite Aqua Aquamarine Azure Beige Bisque Black BlanchedAlmond and convert it to an array literal... var myArray = ["AliceBlue", "AntiqueWhite", ... ] I have the list in notepad++ and I need a reg expression to add the " at the start of the line and ", at the end and remove the line break... does anyone have a quick fix to do this? I'm terrible with RegEx. I

Good text editor for Windows? [closed]

心不动则不痛 提交于 2019-12-03 17:36:41
问题 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 . I'm looking for a text editor, much like TextMate (www.macromates.com) on Mac, but I want it to have a built-in compiler. For example, I do not want an IDE like Visual Studio or Eclipse. I'm looking for an editor where I can click "Run" and it will compile my code and show me the results in a terminal. I know of

Getting Emacs to respect my default shell + options

巧了我就是萌 提交于 2019-12-03 16:14:25
问题 I'm trying to get my Emacs shell to mimic that of my standard terminal sessions. Basically I would like it to respect the same PATH as well as the command prompt. So far I have a few issues: PATH isn't found, below is the fix I'm using for that. I'm getting ascii color codes all over the place with another fix I tried. I have the following in my mwilliams.el file. The first few lines give me access to /usr/local/bin in M-x shell, which solves half the problem and the last few lines get me

Snippets vs. Abbreviations in Vim

删除回忆录丶 提交于 2019-12-03 15:23:20
What advantages and/or disadvantages are there to using a "snippets" plugin, e.g. snipmate , ultisnips , for VIM as opposed to simply using the builtin " abbreviations " functionality? Are there specific use-cases where declaring iabbr , cabbr , etc. lack some major features that the snippets plugins provide? I've been unsuccessful in finding a thorough comparison between these two "features" and their respective implementations. As @peter-rincker pointed out in a comment: It should be noted that abbreviations can execute code as well. Often via <c-r>= or via an expression abbreviation (<expr>

How to run a program in Atom Editor?

纵饮孤独 提交于 2019-12-03 14:25:51
问题 I found Atom editor as good free alternative to Sublime text editor. Not able to find a straightforward way to run a program in Atom editor. In my case, I am trying to run a java program. Please let me know if it's possible? If yes, please describe the steps to follow. 回答1: I find the Script package useful for this. You can download it here. Once installed you can run scripts in many languages directly from Atom using cmd-i on Mac or shift-ctrl-b on Windows or Linux. 回答2: Click on Packages --

Sublime Text: text list of open files

拜拜、爱过 提交于 2019-12-03 12:33:34
I have some files opened in sublime text. I can see that list on the side panel. I want to know if there is a plugin that can give me this list as text. i.e., I hit a button and new file pops up that has lists all the open file names. 4 open files: open_file_1.cc open_file_1.h open_file_2.cc open_file_2.h I wrote a small plugin for this as I could not find anything. Pasting it here so that someone can use it if needed in future. https://github.com/rrg/ListOpenFiles Press: Ctrl ` (Control-backtick) To open up Sublime's internal Python console. Then run the following command: print("\n".join(