Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Joe Fitzgerald
@joefitzgerald
@wyand many of the language packages define snippets, but others do too. Take a look at https://github.com/atom/language-javascript
Dan Wyand
@wyand
is there a way to remove a snippet? defining more/overriding is well documented, but i dont see a way to remove one… redefining a snippet to insert an empty string still gets in autocomplete’s way (apologies if out of scope for the room)
Dan Wyand
@wyand
perhaps need to file a feature request on atom/snippets for a “{ selector: { name: { disable: true } } }"
Sascha Gehlich
@saschagehlich
which language and snippet is that specifically?
i'm running into this kind of problem from time to time as well, but I got used to it by now
Aedaeum
@Aedaeum
@saschagehlich Have you seen the issue I raised?
Sascha Gehlich
@saschagehlich
Nope, which one?
Aedaeum
@Aedaeum
atom/autocomplete-plus#465
Sascha Gehlich
@saschagehlich
can't really help you out there as I'm not really working on autocomplete-plus anymore, sorry
Aedaeum
@Aedaeum
Okay, thanks anyway :)
Joe Fitzgerald
@joefitzgerald
That just has to do with snippet and provider priority
#465
If a provider uses a priority > 2, snippets will be below that provider's suggestions
Aedaeum
@Aedaeum
@joefitzgerald Does that mean I need to talk to the atom-typescript dev?
Let him know he needs to use a priority greater than 2
Sascha Gehlich
@saschagehlich
the suggestions are provided by autocomplete-snippets
maybe providers should have configurable priorities
Aedaeum
@Aedaeum
Isn't that what he said? "If a provider uses a priority >2" ?
I assume by that statement that it's a configurable property
I'll go ahead and create an issue on the atom-typescript tracker
Sascha Gehlich
@saschagehlich
yeah, sorry, I didn't know that atom-typescript includes an autocomplete provider
Aedaeum
@Aedaeum
ah, okay, no worries :)
Jonathan Simcoe
@jdsimcoe
so I have Emmet defaulting to tab but that seems broken now with autocomplete plus… does anyone know how to disable it?
Joe Fitzgerald
@joefitzgerald
yes, there is a known issue of conflicts between emmet and ac+
atom/autocomplete-plus#86
looks like a workaround to have both packages using tab at the same time - but it may be based on old selectors
not sure
the simplest solution is to bind either autocomplete-plus or emmet to different keys
Jonathan Simcoe
@jdsimcoe
ok cool... I seemed to resolve things with this keymap.cson: https://gist.github.com/23525b080f4186b0bd6d
Joe Fitzgerald
@joefitzgerald
ac+ has a preference allowing you to switch it to enter - otherwise you can edit your keymap
a simpler solution would be to just switch the ac+ preference for confirming suggestions from tab and enter to enter
Screen Shot 2015-05-20 at 10.19.45 AM.png
“Keymap For Confirming A Suggestion"
bruce
@sqram
How do i manually install a package in atom?
Dan Wyand
@wyand
is there any way to diagnose where a particular completion is coming from? i have autocomplee-snippets turned off, but still have some rather obnoxious completions
e.g., “exit 1<return>” is turning into “exit 1-7”
This message was deleted
(or i suppose i could be more productive and just mention that setting the complete binding to tab only, instead of tab and enter, helps… would just be nice ot know where completions come from).
Joe Fitzgerald
@joefitzgerald
@wyand we don’t log anything, unfortunately
can you open an issue at https://github.com/atom/autocomplete-plus to that effect?
i can imagine we could include some hover information, perhaps by turning on a preference
Stephan Taylor
@stephantaylor
How do you disable autocomplete+? Or at least the "show suggestions" feature? It is far too buggy and slow in version 1.0.
Stephan Taylor
@stephantaylor
NVM. It's loaded as a package. :-)
Pascal
@pascalpp
pretty much everything is a package
now i'm curious what Atom looks like if you disable ALL packages, including all the core packages :)
daptordarattler
@daptordarattler
is there an autocomplete for java and groovy?
Joe Fitzgerald
@joefitzgerald
@stephantaylor It would be helpful if you could quantify specific issues or expectations you have around behavior. As described above, there's nothing actionable that we can do to make your experience better. What packages do you / did you have installed and active when you ran into your performance issues?
svenkatasubram
@svenkatasubram
how can i check what is the line that is being returned from editor.getText()? console.log(line) does not seem to work.
anything that i log within getSuggestions() is not getting displayed.
Joe Fitzgerald
@joefitzgerald
please move to slack: http://atom-slack.herokuapp.com/