Comments (5)
The reason for this is because of the wordRegex
in lib/autocomplete-view.coffee#L8. (Basically, \w
doesn't match -
or _
which in CSS is valid.) I have made this work locally for CSS but as I did, I realize that the value of wordRegex
could be language specific. I don't feel comfortable creating a pull request because I feel the working change I've made locally would likely just be a quick fix if we agree that this could be language specific.
from autocomplete.
Making it language specific makes a lot of sense, and you're right that it probably involves a core change. I'll create an issue for it in core.
from autocomplete.
This could be something specified in the grammar with a reasonable default in core. That way all existing plugins get something but if they want ideal circumstances, they could update their grammar. Just a thought, you know more about core than I. Let me know if I can help.
from autocomplete.
Thanks. That's what I had in mind, too. For now this probably relies on us adding the change to core, then we could use help updating language packages. The core vs. package distinction won't be such a hurdle when we get the infrastructure in place to open up core to users.
from autocomplete.
This package is deprecated and no longer shipped with Atom. If this is still an issue using the autocomplete-plus package, please open up a new issue on that repository, thanks.
from autocomplete.
Related Issues (20)
- Autocomplete adds spurious undo entries to history
- Issue with history transactions and autocomplete HOT 2
- When pressing enter, the selected autocomplete not replacing my text HOT 1
- Show suggestions from n-th character HOT 1
- Uncaught Error: Can't undo with an open transaction HOT 10
- Doesn't work with valid unicode characters in variables HOT 1
- Toggling autocomplete view doesn't focus the filter editor HOT 1
- Autocomplete allows CTRL-Z (undo) in textbox HOT 1
- Comment Tags HOT 1
- Uncaught TypeError: undefined is not a function HOT 2
- Uncaught Error: Cannot create a checkpoint inside of a transaction HOT 1
- PLIST Additions HOT 1
- Asynchronous feed to autocompletion list HOT 1
- Language keywords should always be availabe, regardless of if they are already typed or not HOT 1
- autocomplete does not support unicode chars HOT 1
- The keymap of "autocomplete:next/previouse" ? HOT 2
- Exact prefix matches should take precedence over fuzzy matches HOT 4
- Display suggestions on type HOT 15
- In Plain Text mode completion does not appear to work HOT 3
- atom editor autocomplete HOT 1
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 autocomplete.