Code Monkey home page Code Monkey logo

Comments (11)

andrew-dixon avatar andrew-dixon commented on August 15, 2024 1

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.

tollus avatar tollus commented on August 15, 2024

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.

philcruz avatar philcruz commented on August 15, 2024

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.

rwatts3 avatar rwatts3 commented on August 15, 2024

This package could check if the first character is < then replace it when the snippet is embedded.

from atom-language-cfml.

KrunchMuffin avatar KrunchMuffin commented on August 15, 2024

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.

zoo1 avatar zoo1 commented on August 15, 2024

I resolved this issue in my CFML autocomplete package, you can find it here

from atom-language-cfml.

dnando avatar dnando commented on August 15, 2024

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.

zoo1 avatar zoo1 commented on August 15, 2024

@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.
cfset

from atom-language-cfml.

zoo1 avatar zoo1 commented on August 15, 2024

@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.

dnando avatar dnando commented on August 15, 2024

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.

zoo1 avatar zoo1 commented on August 15, 2024

@dnando <cfs should work in the version I just pushed out.

from atom-language-cfml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.