-
Notifications
You must be signed in to change notification settings - Fork 262
request handler not called for (
#220
Comments
Hey @basarat you should join the Gitter room: https://gitter.im/atom-community/autocomplete-plus. Your work overlaps almost completely with @park9140's work on atom-typescript-tools. He can probably give you some pointers, or maybe you two could collaborate on a single package? |
Yes it does. @park9140's work is most excellent. I believe his project is also |
Why waste time and effort building what amounts to the same thing? I'm unsure how the purpose of your two projects differ? @park9140 has already solved the problems that 3 of your issues raise. |
@basarat, I took another look at this. I'm really just bypassing the issue by forcibly outputting the '(' and retriggering autocomplete. Which is not exactly the best solution, since it would be nice to not autocomplete the '(' in case the user wants to set the function to a value... I'm going to take a peak at the way we determine the 'prefix' and trigger autocomplete, we may need a way for providers to declare what scopes it finds interesting for autocomplete. Or perhaps just open the flood gates and make providers filter for themselves where they give autocomplete responses back. |
And yet I hit the same blocks. Perhaps these should be fixed in this project instead of every project that uses |
@joefitzgerald bit sad that you temporarily labeled as |
You're missing my point @basarat. Some of what you describe may indeed belong in autocomplete-plus. What I'm trying to impress upon you is that creating a package that almost entirely duplicates the functionality of another is probably not the best use of your time. Why not contribute to atom-typescript-tools instead of creating your package separately? Alternatively, how do you plan to differentiate your package from @park9140's? In lieu of differentiation, I fear you'll just end up confusing typescript users regarding which autocomplete package to install for typescript. Do your packages interoperate well when both installed at the same time? |
The won't fix label was accidental when I was labeling other issues and was immediately removed. |
all good then ❤️. Thanks for this excellent package! |
I would expect this to be the case really. @joefitzgerald you can reproduce it quite simply by typing |
I'll have to test but I'm not sure I agree with your assertion. As you can see, no filtering by prefix is done: The only filtering that occurs is one related to the number of characters in new text or old text in bufferChanged. Which wouldn't explain the behavior you describe. |
@acormier has discovered this is due to bracket-matcher - when it matches a |
Fixed in v2.4.2. |
This is blocking me using it for function signatures : TypeStrong/atom-typescript#23
The text was updated successfully, but these errors were encountered: