atom-editor

atom-typescript: set experimentalDecorators option

蹲街弑〆低调 提交于 2019-12-22 07:05:14
问题 I have begun using the Atom editor with the atom-typescript package on an existing project, and I am encountering this warning. Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning. I cannot seem to figure out how to do this. I tried adding "experimentalDecorators": true to the compilerOptions in ~/.atom/packages/atom-typescript/lib/tsconfig.json but this did not help. What can I do to

Flow was not found when attempting to start Atom/Nuclide

女生的网名这么多〃 提交于 2019-12-22 02:05:16
问题 I am working on react-native application for which I am using Atom IDE. I am getting an error on opening Atom I installed babel-cli and babel-preset-flow with npm command. npm install --save-dev babel-cli babel-preset-flow Now when I restart Atom then it shows same warning to me "Flow was not found when attempting to start". Can anyone help me how to fix it. I have followed this https://medium.com/react-native-training/getting-started-with-react-native-and-flow-d40f55746809 flow server is

Can I hide typescript autogenerated .js and .map.js files in atom?

Deadly 提交于 2019-12-22 01:37:59
问题 Does anyone know if there is a plugin/option for hiding or grouping autogenerated files in Atom? The files I want hidden/grouped is what the typescript compiler auto generates ( .js and .map.js files). Visual Studio style grouping would be best, if possible My typescript file file.ts which generates file.js file.map.js file.js is interesting to read once in a while, but in general its autogenerated and I shouldn't care about it. So letting file.ts be a virtual folder like - file.ts - file.js

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

回眸只為那壹抹淺笑 提交于 2019-12-22 01:12:07
问题 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 3 years ago . 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. 回答1: Tried this and worked

Change keyboard shortcut to “Run Script” in Atom IDE

岁酱吖の 提交于 2019-12-22 00:15:48
问题 In the "Script" package, The keyboard shortcut to "Run Script" is shift+ctrl+b . Does anyone know how to change this to a custom shortcut? I have script 3.14.1 installed in Atom (with Windows 10 64bit) 回答1: go to " Settings ", " Packages ", find the " script " package and click " Settings ". at the top, select "View Code" button. In the new window that pops up, expand the " keymaps " folder and open the " script.cson " file. Find the shortcut for 'script:run' (line 15) and type in your

Can Atom work with Python virtualenvwrapper

馋奶兔 提交于 2019-12-21 12:32:04
问题 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 回答1: Have you tried the virtualenv package for Atom? 回答2: In Linux: Start your virtual environment python. Launch atom from your

Getting user input while running a python script in atom

爱⌒轻易说出口 提交于 2019-12-21 10:58:50
问题 Not really sure whether I'm just not looking in the right place or whether this feature is yet to be implemented, but after installing the atom script package and testing it out on a program that requires user input, I realize that I can't type in anything for input() the way I can when running the program from the shell. I stumbled upon this thread which makes me suspect that the feature hasn't been added, but I just wanted to be sure. Isn't this a pretty basic thing to be able to do? Or do

GitHub Atom: How to apply a particular syntax highlighting to some files based on name

白昼怎懂夜的黑 提交于 2019-12-21 07:08:10
问题 How can I configure GitHub's Atom to make it automatically set a particular syntax highlighting to filenames based on name and/or extensions? Specifically I want it to automatically set Ruby syntax highlightning to Cocoapods' Podfile s. 回答1: As of Atom 1.0.8 this is now possible without the file-types package, using a core feature. To achieve this, open the config.cson file, and add a section like the following: "*": # Other config core: customFileTypes: "source.ruby": [ "Podfile" ] There is

How to edit core files in Atom Editor

本小妞迷上赌 提交于 2019-12-21 04:51:09
问题 I want to edit the tree-view package in Atom. I want to add a new item to the context menu. But i can't file where are the files. I can open the config folder and I can see all the community packages I have installed, but where do I find the core files of the editor? 回答1: They are packed inside the app.asar file. This file is located at the following location in the OS X version. Atom.app/Contents/Resources/app.asar This file is generated by this build script. Of course, this package is open

How to make atom more like WebStorm IDE?

血红的双手。 提交于 2019-12-21 03:34:31
问题 So what I love about WebStorm is it can do amazing autocomplete after putting a "." and i love all the code completions and linting. Webstorm is very resource heavy and pretty ugly. With atom I can't figure out how to do this. What plugins can I install or customize to get this to work for my likings? 回答1: For JavaScript development, I would recommend atom-ternjs. atom-ternjs JavaScript code intelligence for atom with Tern. Adds support for ES5, ES6 (JavaScript 2015), Node.js, jQuery, Angular