Comments (11)
I think it actually needs the package upgraded to use Atom's autocomplete-plus as ATM it is just inserting snippets and not auto-completing as such.
from atom-language-cfml.
When you use the code completion you don't want to write the original <. For example, you just want to write cfset
then choose the snippet, and you'll see it changes the cfset
to <cfset | = >
(where |
is where the cursor is)
from atom-language-cfml.
Typing the opening bracket is a common way to start code completion, well, at least with CFEclipse. So it will be a smoother transition for such folks. +1 for Atom supporting this.
from atom-language-cfml.
This package could check if the first character is < then replace it when the snippet is embedded.
from atom-language-cfml.
I agree with @andrew-dixon plus it's a PITA removing superfluous code that gets inserted. I am still using sublime 3 because of this. Would love to switch to Atom.
from atom-language-cfml.
I resolved this issue in my CFML autocomplete package, you can find it here
from atom-language-cfml.
Couldn't find auto-complete plus in the Atom package search, but then
looking at the github repository I saw that you don't have to install it -
included with Atom.
I just installed CFML autocomplete, tried it and still seeing
<<cfset = >
:-(
Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia
On Fri, Nov 11, 2016 at 8:10 PM, Zachary Ovington [email protected]
wrote:
I resolved this issue in my CFML autocomplete package, you can find it
here https://atom.io/packages/autocomplete-cfml—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#46 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAh2n4cgJZAEUjO0oN8yEM5yRoaxeeftks5q9L2LgaJpZM4FdXWj
.
from atom-language-cfml.
@dnando make sure you are selecting that auto-complete tag part of autocomplete CFML to insert and not the snippets included in this package.
The autocomplete included should look like the image below. The red elements are autocomplete added.
from atom-language-cfml.
@dnando sorry for the confusion, I just published a fix for this. If you have any other issues feel free to open them on the autocomplete repo. I'm closing this ticket as this functionality will not be added by this language package.
from atom-language-cfml.
Ah, I see what's happening.
If I type <cf and then choose from the dropdown, remaining within the
choices that have red brackets, it works.
[image: Inline image 2]
If I type <cfs, it jumps down into the green tab choices and then what is
inserted is a double bracket to start, as below:
[image: Inline image 1]
The behavior is different if one remembers to not type the initial
opening bracket. Then it works as you've shown in your screenshot.
The << issue occurs if the opening bracket is typed.
Thanks for doing this. I like it.
Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia
On Fri, Nov 11, 2016 at 8:57 PM, Zachary Ovington [email protected]
wrote:
@dnando https://github.com/dnando make sure you are selecting that
auto-complete tag part of autocomplete CFML to insert and not the snippets
included in this package.
The autocomplete included should look like the image below. The red
elements are autocomplete added.
[image: cfset]
https://cloud.githubusercontent.com/assets/4008169/20228438/1ed9538c-a81f-11e6-89a1-79fd90fd9fc9.gif—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#46 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAh2nxB0OtgAg1Xl5M0slXvNwsqbExXWks5q9MjFgaJpZM4FdXWj
.
from atom-language-cfml.
@dnando <cfs should work in the version I just pushed out.
from atom-language-cfml.
Related Issues (20)
- Adding addition file extention HOT 6
- Quotes breaks highlighting HOT 2
- Nested Comments breaks highlighting HOT 1
- Error after update to Atom 1.19 HOT 3
- CFC Method Outline/Structure View? HOT 5
- Changes to TextEditor.onDidChange and TextBuffer.onDidChange coming in Atom 1.23 HOT 1
- Atom 1.24 - script cfc syntax highlighting HOT 9
- Syntax Highlighting not working in CFCs HOT 21
- Not recognizing CFCs HOT 7
- Unable to install language-cfml HOT 1
- Multi-line Comments Broken HOT 4
- Syntax coloring fails HOT 14
- tag-generic-attribute-script doesn't allow underscores HOT 1
- Commenting uses wrong comment tag
- Syntax Highlighting Issue
- Any CF tag inside comments breaks comment highlighting HOT 1
- Using CTRL+CMD+Down Arrow to move code down results in an error sound HOT 2
- Different code coloring for CFML tags vs. HTML HOT 2
- wrong parsing HOT 5
- Jump to symbol? HOT 5
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.