atom-editor

[Atom][Remote-ftp] Unable to connect ftps/ftpes [closed]

。_饼干妹妹 提交于 2019-12-04 22:05:59
Below two issues I was facing while trying to create ftps connection. 421 Sorry, cleartext sessions are not accepted on this server. Uncaught No protocol found in connection credential It was solved after some config changes, which I'm putting in the answer. Same should work for ftpes. Tried this and worked (see "secure" and "secureOptions" specifically): { "protocol": "ftp", "host": "***FTP_HOSTNAME_HERE***", "port": 21, "user": "***YOUR_USERNAME_HERE***", "pass": "***YOUR_PASSWORD_HERE***", "promptForPass": false, "remote": "***REMOTE_PATH_HERE***", "secure": true, "secureOptions": {

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

Adding New Conda Env to Hydrogen for Atom

大兔子大兔子 提交于 2019-12-04 13:31:41
问题 I work with many conda environments in my workflow and like to use the hydrogen package for the Atom Editor when I am exploring objects. However I always forget how to add a new jupyter kernel to the new environments even though it is only two lines of code. What are those lines of code? 回答1: Here is the link to the github issue where the comment is answered. The two lines of code to be run in your terminal are these: source activate YourEnvNameHeRE python -m ipykernel install --user --name

Plain text autocomplete in Atom (Github)

你。 提交于 2019-12-04 12:03:51
问题 I've auto-complete and auto-complete+ installed on the latest version of Atom. Unfortunately, these packages don't auto-complete or suggest words while typing plain text as open office or some sublime packages do. For instance, if I am typing repo and the word repository already appears in the current document, I would like to have some sort of auto-completion / intellisense to show up. I looked, in vain, for package in atom achieving that. So, the question is, do you know any package to do

How to setup Atom's 'styles.less' file to highlight function and method call in Python?

会有一股神秘感。 提交于 2019-12-04 10:40:51
I would like to have it highlighted like here in Sublime Text: I tried like suggested here : atom-text-editor, atom-text-editor::shadow { .meta.function-call.python { color: '#abcde'; } } However, Atom's deprecation says: Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax-- . To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors: atom-text-editor .meta

Is the editor Atom able to open projects on a remote server?

只谈情不闲聊 提交于 2019-12-04 08:32:20
问题 Atom is able to open a project, and to show the whole tree of the project on the left side, a really nice feature. Now I'm using SSH on Host OS to access a Guest OS (say Red Hat Enterprise Linux, RHEL) on Virtualbox, is there a way of Atom located in Host OS to open a project located on RHEL? 回答1: Well yes there is! You just need to configure sshfs, optionally with autofs. Then you can access the files as if they are stored locally. I've used this with Atom and it works seamlessly.

Keyboard shortcut to convert selection to uppercase (or lowercase) in the atom editor

為{幸葍}努か 提交于 2019-12-04 07:37:57
问题 What is the keyboard shortcut to convert the currently selected text to uppercase (or lowercase) in the Atom editor? 回答1: On Windows and Linux: Ctrl + K then Ctrl + U for uppercase Ctrl + K then Ctrl + L for lowercase On Mac: Cmd + K then Cmd + U for uppercase Cmd + K then Cmd + L for lowercase 回答2: For Windows OS For Uppercase CTRL + K + U For Lowercase CTRL + K + L 来源: https://stackoverflow.com/questions/38790154/keyboard-shortcut-to-convert-selection-to-uppercase-or-lowercase-in-the-atom-e

How to save Atom editor config and list of packages installed

风流意气都作罢 提交于 2019-12-04 07:33:11
问题 I have recently started using Atom editor. Its pretty great so far. I am planning to install it on several other machines. How can I replicate the config and list of packages installed on my current machine to other machines. Is there a config that I can use to export and import them on other machines. 回答1: Use Git to version control your config file ( ~/.atom/config.cson ), and any other config files (dotfiles) you may have. You can then host your Git repository for free on somewhere like

Can Atom work with Python virtualenvwrapper

戏子无情 提交于 2019-12-04 06:28:30
I want to start a Flask app. I installed virtualenvwrapper to manage the packages but I can't let Atom know that the current project should use the virtualenv's python binary. from flask import Flask, render_template Using Atom's script runner, I get an "ImportError: No module named flask". I don't want the hassle of having to change to a terminal to run the app Have you tried the virtualenv package for Atom? Jacques In Linux: Start your virtual environment python. Launch atom from your python virtual environment. (EVP) abc $ atom That's all. I am the creator of a new package that adds support

Snippet Variables?

杀马特。学长 韩版系。学妹 提交于 2019-12-04 05:48:17
问题 Is there any way that we can create snippets in Atom with variables (someway like Emmet did in HTML)? Here's an example that we want to achieve: From: p4 To: padding: 4% 4% 4% 4% ( From: p[i] to padding: i% i% i% i% ) (the user input p+[i] , i is variable ) 回答1: To my knowledge you are not able to do that with Atom snippets because they are composed with just CSON (i.e. no scripting). So while you can't do that you can use a single variable and expand it into multiple locations in your