atom-editor

What is the Visual Studio Code editor built on

守給你的承諾、 提交于 2019-11-26 18:48:28
问题 What underlying technologies/libraries is Microsoft's new (free) cross platform editor Visual Studio Code (Launched 5/29/2015) built on? There are rumors that it's just Github's Atom Editor rebranded. 回答1: Visual Studio Code is built using web technologies on top of Github's Electron. Electron is an app runtime for writing native apps that uses Chromium (which Google Chrome is built on) for rendering the interface and node.js for local APIs (example: file system access) , it was built

How to setup Atom's script to run Python 3.x scripts? May the combination with Windows 7 Pro x64 be the issue?

左心房为你撑大大i 提交于 2019-11-26 16:17:58
问题 I'm trying to switch from Notepad++ to Atom, but I just can't manage to get my scripts executed in Atom. I followed this answer (so I already installed script ) which is not really extensive and also the rest on the web doesn't offer anything comprehensible for beginners. In Notepad++ NPPexec I used to NPP_SAVE cd "$(FULL_CURRENT_PATH)" C:\Python34\python.exe -u "$(FULL_CURRENT_PATH)" and in Sublime Text 2 I made it run by creating a new "Build System": { "cmd": ["C:\\python34\\python.exe", "

How to open Atom editor from command line in OS X?

血红的双手。 提交于 2019-11-26 14:58:19
问题 I have the Atom editor and was wondering how you can open a file or folder from the terminal in Atom. I am using a Mac. I am looking for a way to do this: atom . (opens folder) atom file.js (opens file) atom (opens editor) Is this possible and how do I set it up? 回答1: When Atom installs it automatically creates a symlink in your /usr/local/bin. However in case it hasn't, you can create it yourself on your Mac ln -s /Applications/Atom.app/Contents/Resources/app/atom.sh /usr/local/bin/atom Now

Uncaught Error: Cannot find module 'jquery'

ε祈祈猫儿з 提交于 2019-11-26 13:47:41
问题 I am using Electron to make a desktop app. In my app I am loading a an external site (outside Atom app) lets say http://mydummysite/index.html page. Here is the structure of my app in Atom Editor: i.e it is having following parts: main.js package.json nodemodules>jquery (to load jquery) Source code: main.js: 'use strict'; var app = require('app'); app.on('ready', function() { var BrowserWindow = require('browser-window'); var win = new BrowserWindow({ width: 800, height: 600, show: false,