atom-editor

How to get rounded corners on an Electron app?

北城余情 提交于 2021-02-18 22:13:46
问题 I am currently trying to get rounded corners on an Electron application I'm making. I have tried nearly every solution available on-line at the moment, but none of them make any difference. How can I round the corners of my Electron app? 回答1: Make a frameless transparent window const myWindow = new BrowserWindow({ transparent: true, frame: false }) And have something like this in the renderer, or apply the style directly to the body tag <div style="width: 500px; height: 500px; border-radius:

Webpack - How to bundle/require all files of a folder (subfolder)

淺唱寂寞╮ 提交于 2021-02-10 03:51:13
问题 I am trying to see if there is a shorter way of running webpack bundles, and also why my loaders do not work. Here is my code: module.exports = { context: path.join(__dirname, 'dist'), entry: ['./ES6bundle.js', './jQuery.js'], output: { filename: 'bundle.js', path: path.join(__dirname, 'dist') } }; // module: { // loaders: [{ // test: /\.js?$/, // exclude: /node_modules/, // loader: 'babel-loader', // query: { // presets: ['env'] // } // }] // }; The module.exports works but when I run the

Webpack - How to bundle/require all files of a folder (subfolder)

邮差的信 提交于 2021-02-10 03:48:59
问题 I am trying to see if there is a shorter way of running webpack bundles, and also why my loaders do not work. Here is my code: module.exports = { context: path.join(__dirname, 'dist'), entry: ['./ES6bundle.js', './jQuery.js'], output: { filename: 'bundle.js', path: path.join(__dirname, 'dist') } }; // module: { // loaders: [{ // test: /\.js?$/, // exclude: /node_modules/, // loader: 'babel-loader', // query: { // presets: ['env'] // } // }] // }; The module.exports works but when I run the

Atom: Setting up Hydrogen Launcher for use with Python 3.7

无人久伴 提交于 2021-02-08 09:08:16
问题 I am trying to set up Atom to be able to run Python code interactively and on a line-by-line basis, and have been trying to work with Hydrogen and its associated packages to that end. The Hydrogen package is working properly as intended, as I'm able to run the script on a cell-by-cell basis, and am able to choose which Python kernel to run the script with. However, the problem starts when I try to run it with Hydrogen Launcher, which is supposed to enable you to launch Jupyter consoles

How can I change the default version of Python Used by Atom?

↘锁芯ラ 提交于 2021-02-08 08:14:31
问题 I have started using Atom recently and for the past few days, I have been searching on how to change the default version used in Atom (The default version is currently python 2.7 but I want to use 3.6). Is there anyone I can change the default path? (I have tried adding a profile to the "script" package but it still reverts to python 2.7 when I restart Atom. Any help will be hugely appreciated!! Thank you very much in advance. 回答1: I am using script 3.18.1 in Atom 1.32.2 Navigate to Atom (at

How can I change the default version of Python Used by Atom?

家住魔仙堡 提交于 2021-02-08 08:11:29
问题 I have started using Atom recently and for the past few days, I have been searching on how to change the default version used in Atom (The default version is currently python 2.7 but I want to use 3.6). Is there anyone I can change the default path? (I have tried adding a profile to the "script" package but it still reverts to python 2.7 when I restart Atom. Any help will be hugely appreciated!! Thank you very much in advance. 回答1: I am using script 3.18.1 in Atom 1.32.2 Navigate to Atom (at

How can I change the default version of Python Used by Atom?

戏子无情 提交于 2021-02-08 08:07:50
问题 I have started using Atom recently and for the past few days, I have been searching on how to change the default version used in Atom (The default version is currently python 2.7 but I want to use 3.6). Is there anyone I can change the default path? (I have tried adding a profile to the "script" package but it still reverts to python 2.7 when I restart Atom. Any help will be hugely appreciated!! Thank you very much in advance. 回答1: I am using script 3.18.1 in Atom 1.32.2 Navigate to Atom (at

How can I change the default version of Python Used by Atom?

試著忘記壹切 提交于 2021-02-08 08:07:08
问题 I have started using Atom recently and for the past few days, I have been searching on how to change the default version used in Atom (The default version is currently python 2.7 but I want to use 3.6). Is there anyone I can change the default path? (I have tried adding a profile to the "script" package but it still reverts to python 2.7 when I restart Atom. Any help will be hugely appreciated!! Thank you very much in advance. 回答1: I am using script 3.18.1 in Atom 1.32.2 Navigate to Atom (at

Where can I add my own autocompletion snippets in the atom editor?

二次信任 提交于 2021-02-08 07:55:46
问题 I am using atom as my main editor for .tex documents. A feature which the bracket-matcher package gives that I really like is that it automatically inserts a closing }, any time I enter an opening {. I would like to add a similar feature for $, as I often end up using mathmode in latex. Where would I be able to add this? I do not want to add it in a snippet, where I would have to press tab for another $ to appear. I would simply like for a second closing $ to be automatically added (after my

Where can I add my own autocompletion snippets in the atom editor?

自古美人都是妖i 提交于 2021-02-08 07:54:44
问题 I am using atom as my main editor for .tex documents. A feature which the bracket-matcher package gives that I really like is that it automatically inserts a closing }, any time I enter an opening {. I would like to add a similar feature for $, as I often end up using mathmode in latex. Where would I be able to add this? I do not want to add it in a snippet, where I would have to press tab for another $ to appear. I would simply like for a second closing $ to be automatically added (after my