atom-editor

Using anaconda environment in Atom

爱⌒轻易说出口 提交于 2019-12-03 03:15:38
问题 I've install Anaconda (Python 3.6) and tensorflow (python 3.5). I've managed to get it run both on Spyder and on sublime text 3( by making new build system). Now all the is using Atom( which I'm not used to). So I've trying to "tell" Atom to use python in the following folder: C:\users\engine\anaconda3\envs\tensorflow\python.exe without any success, any idea how to do that or what kind of package should I use( I'm using windows so virtualenv) thanks in advance ! 回答1: In your Anaconda terminal

How do I make a default syntax by filetype in Atom text editor?

折月煮酒 提交于 2019-12-03 02:59:40
问题 I want my .ejs files to have html syntax, however, it always opens the files as Plain Text. In sublime you can choose "Open all with current extension as..." then choose your syntax. I see that you can change the syntax in the left bottom corner How do you open files with a certain type with a specific syntax? 回答1: Easy mode: include If your language really is just HTML, you can set up a simple package to handle this. Create a package called langugage-ejs and in grammars/ejs.cson you can

Xlib: extension “XInputExtension” missing on display “:1” Atom Ubuntu

和自甴很熟 提交于 2019-12-03 02:45:07
I have an Amazon EC2 instance that runs Ubuntu 16.04 server. I installed atom and for some reason I am not able to start Atom. Everytime I start atom with the command line I see the following Xlib: extension "XInputExtension" missing on display ":1". I used vnc to setup ubuntu desktop and I am using vncviewer to access the desktop and start atom. I am not sure what I am doing wrong. My vncconfig file looks like this #!/bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc gnome-session & gnome-panel & gnome-settings-daemon &

Hide hidden(dot) files in github atom editor

岁酱吖の 提交于 2019-12-03 02:06:38
问题 I am very new to Github Atom editor. It always shows hidden files such as .git , .sass in the side pane. How to hide hidden files(dot files) in atom editor's side pane. 回答1: Atom > Preferences > Packages In the field below "Installed Packages" type: "Tree View". This package has a few settings you can toggle, "Hide Ignored Names" is what you're looking for. It's a really buried setting, not sure why. You can also add it to your config: 'tree-view': 'hideIgnoredNames': true 回答2: 1- From the

How to add a live (interactive) console window to Atom?

吃可爱长大的小学妹 提交于 2019-12-03 01:30:55
Is it possible to add a live (interactive) console window to Atom? Note that this is similar to the article on adding a live console session to LightTable , except that it is for Atom. Essentially, I am interested in the integrated terminal emulation that Geany is capable of doing: Is there any way to do this in the Atom text editor from Github? AtomTips You might take a look at Atom Terminal Panel packages. MRamazan Yes it is possible. Don't know how they did, but there is a package "paltformio-ide". Installing it would add the windows powershell in atom, like this one: Being used to webstorm

Atom JavaScript Autocomplete

冷暖自知 提交于 2019-12-03 00:56:50
I'm new to Atom and JavaScript, Atom seems to be pretty good for web developing. But to my best knowledge, it seems that there is no Atom package for enabling JavaScript autocomplete. Does anyone know a package doing this or does Atom have a plan to support JavaScript autocomplete? Since JavaScript is loosely coupled, providing a working autocomplete solution is not as easy as for statically typed languages like Java. Your best bets with Atom are the following packages: autocomplete-plus - this is now bundled with Atom as the default autocomplete provider ternjs - this looks pretty good, but

How to add words to Atom's spell checker dictionary?

半城伤御伤魂 提交于 2019-12-03 00:56:10
Trying to get a bit more functionality out of Atom's spell checker and right now the false positives are making it less than useful. How can I add a word to Atom's dictionary so it no longer shows up as misspelled? Flávio Camilo This feature was released in version 1.12 of Atom , implemented in Pull Request #120 . To enable it, checkmark the option labeled Add Known Words , found in Packages -> Settings View -> Open , or shortcut Cmd + , . Then go to Packages tab and search for spell-check . Then, to add a word to the builtin dictionary, press cmd-shift-: while the cursor is on the misspelled

How to uninstall Atom text editor on Windows?

点点圈 提交于 2019-12-02 23:30:36
I installed the text editor Atom for Windows with the installer package ( blog post with details ). Note that I did not use the old way of installing, with Chocolatey . When I wanted to uninstall, I didn't see any uninstall program. When I went to the "Remove programs" window, the uninstall option was invalid. How can I uninstall it? I found the same question for Linux and Mac , but so far no details for Windows. You have to remove some folders and then Atom should be removed from your computer: Delete these folders: C:\Users\UserName\.atom C:\Users\UserName\AppData\Local\atom C:\Users

atom-typescript complaining about tsconfig.json--how can I automatically create one?

允我心安 提交于 2019-12-02 21:44:07
I just started playing with the "atom-typescript" plugin as referenced here: Getting Started With TypeScript The page states that to utilize atom-typescript, we literally just need to: Now create a new .ts TypeScript file and start hacking away. AtomTS will take care of compiling it to .js and create a default tsconfig.json TypeScript project file for you. This is not the case as I've created a simple directory structure and when attempting to build any *.ts file receive the following error: The error states I need to utilize the 'Create tsconfig.json project file' command--I simply cannot

Select all found RegEx results in Atom

我与影子孤独终老i 提交于 2019-12-02 21:40:05
I'm trying to select all of the results found by a regex find so I can modify them all ( not replace them with text! ), for example, making them all uppercase with Cmd + K -> Cmd + U . I'm aware that I could do them one by one via repeating Cmd + G, Cmd + K, Cmd + U , but for a large file this simply isn't practical or realistic. I'm also aware of using bash and may other scripting alternatives, I'd like to find a way to do it inside Atom, I'm happy to install an external library if needed. Things I've tried: Cmd + D , this just selects the next instance of that exact letter, not the next