atom-editor

install autocomplete-plus package in windows

对着背影说爱祢 提交于 2020-01-03 19:01:27
问题 im trying to install the autocomplete-plus plugin for Atom Editor in Windows but when I do I get an error saying: ( I have git & chocolatey intalled ) ....Other packages like minimap same problem blablaaa blaaaaaaa with themes apm install [theme ] no problems to install C:\Windows\system32>apm install autocomplete-plus Installing autocomplete-plus to C:\Users\*\.atom\packages failed npm http GET https://registry.npmjs.org/semver npm http GET https://registry.npmjs.org/emissary npm http GET

git: Aborting commit due to empty commit message (editor: atom)

我们两清 提交于 2020-01-03 15:36:18
问题 When I try to commit something, not using "-m", I get this message immedately. I changed my default editor to atom with "-w" set, also tried "-W". git config --global core.editor -w Using vim, it works just fine... I'm running OSX Yosemite. So, how can I get this to work? Edit: Atom opens properly, but the error message gets posted before it does. 回答1: The Atom Editor Git Integration page, in the "Commit Editor" section states that you must pass the --wait flag as part of the editor command:

atom-typescript can not find typings

北城余情 提交于 2020-01-02 11:15:30
问题 I just configured a new Angular/Typescript project in Atom using atom-typescript. The project is set up to have a main angular module file that imports all of the modules, including the type definition files. Everything compiles in gulp and runs no problem. Since I'm using gulp, I've configured atom-typescript to not compile the .ts files on save. Now, I'm seeing errors in all of my .ts files showing that the atom-typescript linter cannot find the typings. Ex: Module 'ng' has no exported

atom-typescript can not find typings

一笑奈何 提交于 2020-01-02 11:15:20
问题 I just configured a new Angular/Typescript project in Atom using atom-typescript. The project is set up to have a main angular module file that imports all of the modules, including the type definition files. Everything compiles in gulp and runs no problem. Since I'm using gulp, I've configured atom-typescript to not compile the .ts files on save. Now, I'm seeing errors in all of my .ts files showing that the atom-typescript linter cannot find the typings. Ex: Module 'ng' has no exported

How do I set a breakpoint inside of atom's package?

牧云@^-^@ 提交于 2020-01-01 09:17:09
问题 I am trying to figure out why this atom package https://github.com/AtomLinter/linter-elixirc/ misbehaves. Its author said I should set a breakpoint in some function of the package to see what's going on there. I have no idea how to do that while running atom. Here is the comment I am talking about: https://github.com/AtomLinter/linter-elixirc/issues/63#issuecomment-214916262 回答1: When you're in Atom, hitting Ctrl+Alt+I (or View -> Developer -> Toggle Developer Tools) will open developer tools

Change terminal in Atom-editor's Platformio-Ide-Terminal on Windows

故事扮演 提交于 2020-01-01 02:34:08
问题 On Windows, default terminal for Atom's Platformio-Ide-Terminal is Powershell (at least, that is what I get without any configuration). I would prefer a terminal using unix-type commands. I already have MINGW and CYGWIN installed. How can I avoid opening a Powershell and opening another terminal type instead? 回答1: Set the default shell in: Edit>>Settings>>Packages>>Platformio Ide Terminal>>Settings>>Shell Override You can use the git's bash as proposed here as you probably already have git

Vagrant + Xdebug + Atom

▼魔方 西西 提交于 2019-12-31 07:11:05
问题 I have a vagrant box with xdebug installed, running on OSX, but Im struggling to get the Atom xdebug plugin ( php-debug ) to connect to it. I pasted the phpinfo(); data into the xdebug validation site and it said all was good. And you can see all the xdebug settings. I have mapped port 9000 in the vagrant file. config.vm.network :forwarded_port, guest: 9000, host: 9000 The vagrant box has host only network that exposes 192.168.10.100 as the IP of the server. And I've tried all manner of

Using atom as a git editor fails to wait for commit message, why?

馋奶兔 提交于 2019-12-30 18:54:28
问题 I have configured my git editor both by: git config --global core.editor "atom --wait" or git config --global core.editor "atom -w" based on some posts in StackOverflow. And my .gitconfig file has oneline like: editor = atom -w or: editor = atom --wait However, when I tried to use git commit, the git aborted commit due to empty commit message. After that, Atom launched after that. If I typed in commit message, save and quit. The message in bash is: Attempting to call a function in a renderer

How do I replace a newline in Atom?

落花浮王杯 提交于 2019-12-29 03:18:24
问题 In Atom, If I activate regex mode on the search-and-replace tool, it can find newlines as \n , but when I try to replace them, they're still there. Is there no way to replace a newline-spanning string in Atom? 回答1: Looks like Atom matches newlines as \r\n but behaves inconsistently when replacing just the \n with nothing. So newlines seem to match \s+ and \r\n , and only "half" of the line-ending matches \n . If you replace \n with a string, nothing happens to the line-ending, but the string

How to config ESLint for React on Atom Editor

蹲街弑〆低调 提交于 2019-12-29 02:45:25
问题 In Atom Editor I installed the following plugins linter linter-eslint It seems they don't recognize the JSX syntaxis. I have it working on the command line but had to use other plugins like esprima-fb and eslint-plugin-react . Looks like there are no such plugins for Atom Editor and would like to know if anyone of you knows a way to hack around this. 回答1: To get Eslint working nicely with React.js: Install linter & linter-eslint plugins Run npm install eslint-plugin-react Add "plugins": [