alanzanattadev / atom-fast-import-js Goto Github PK
View Code? Open in Web Editor NEWAtom plugin to import modules the fatest way in javascript
License: MIT License
Atom plugin to import modules the fatest way in javascript
License: MIT License
when you drag a javascript file that is nested in 2 subfolders, the imported path contains \ instead of / on windows
This is required for example importing images if you're using webpack. Having the option would be great.
Hi!
Thanks for making this nice atom module!
Unfortunately, this module stopped working lately on my setup. But can't find any reason or error logs. So I would like to first find out if someone else could confirm that it does not work with latest Atom.
Atom version: 1.31.1
Thanks.
Incorrectly writes the import statement if there are other imports that do not end with a semi-colon.
For example:
Dragging 'data.js' into this:
import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
Yields:
import React from 'react'
import ReactDOM from 'react-dom'
iimport data from "./data/data";
mport App from './App'
The contents of atom-text-editor
elements are no longer encapsulated
within a shadow DOM boundary. Please, stop using shadowRoot
and access
the editor contents directly instead.
atom-text-editor.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:68:18)
<unknown> (/Users/rob.rosario/.atom/packages/fast-import-js/lib/fast-import-js.js:151:29)
Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:329:9)
Object.activate (/Users/rob.rosario/.atom/packages/fast-import-js/lib/fast-import-js.js:149:43)
Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:191:19)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:164:32)
Add two new options in preferences:
'Use semi-colons' and 'Use single-quotes'
[X] Use semi-colons
When checked, this will terminate each import line with a semi-colon (default setting)
[] Use single-quotes
When checked, the import statement will use single-quotes instead of double-quotes.
Pulldown menus might work better than checkboxes...?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.