Comments (9)
The same as here. It doesn't play well with evil-mode.
from js2-refactor.el.
Can you create an issue instead?
from js2-refactor.el.
Multiple cursors already has an issue reported for this. Even though the underlying problem is definitely with multiple cursors, not js2-refactor, I still felt this should be reported. Understandably you guys may feel differently.
The fact that js2-refactor uses multiple cursors is an implementation detail. It wasn't obvious to me when I encountered problems with js2-refactor that multiple cursors was at fault, and it would've saved me loads of time to have seen a report like this.
Also the workaround is significantly more useful for js2-refactor then with plain old multiple cursors. Disabling Evil during multiple cursors makes it fairly difficult to use, since suddenly your normal text editing commands are gone. However this isn't an issue with js2-refactor since its making the changes.
from js2-refactor.el.
@magnars clj-refactor is also using mc, right? Is the same issue affecting clj-refactor?
from js2-refactor.el.
Yes, clj-refactor allows the user to opt out of multiple-cursors usage.
from js2-refactor.el.
Magnar Sveen [email protected] writes:
Yes, clj-refactor allows the user to opt out of multiple-cursors
usage.
Could this be easily backported to js2-refactor?
from js2-refactor.el.
Not easily, no. clj-refactor tackles it for each individual refactoring.
from js2-refactor.el.
Magnar Sveen [email protected] writes:
Not easily, no. clj-refactor tackles it for each individual
refactoring.
BTW, what's the motivation for disabling mc?
from js2-refactor.el.
Would it be possible to add support for evil-mc if evil-mode is installed?
from js2-refactor.el.
Related Issues (20)
- `inline-var` produces incorrect output if no semicolons are used HOT 3
- Cannot slurp the last AST node of a buffer
- js2r-contract-node-at-point not behaving as expected HOT 1
- Does js2-refactor hard-require yasnippet ? HOT 2
- Idea for js2r-extract-class-to-file
- multiple word edit failed in emacs 26.1 on archlinux (C-c C-r i-v) HOT 3
- Extract function fails inside exported functions
- extract function with a selected region extracts the whole line HOT 1
- `js2r-rename-var`: don't move cursor to the start of the symbol
- Extract function ignores jsdoc HOT 1
- move region to new file
- Moving js2-refactor under `js-emacs` HOT 6
- Toggle 'use strict' in module/defun
- How to use with js2-minor-mode? HOT 1
- js2r-inline-var doesn't work if variable is initialized with a `new` expression
- js2r-toggle-arrow-function-and-expression not working for brace-less arrow functions HOT 3
- Package not found when doing package-install HOT 2
- Work when hashbang is present HOT 1
- calling js2r-toggle-arrow-function-and-expression is not idempotent for expressions returning json HOT 2
- Any plan to support web-mode HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js2-refactor.el.