Comments (11)
Do you mean this:
import os
def method(some):
pass
method(os.<caret>)
When completion triggered (f.e. after "dot"), we should see os
module methods plus params, in completion popup, correct?
from sublimejedi.
I mean not completing function parameters until the user explicitly opens the parenthesis:
def method(some, params, here):
pass
met<caret>
↓ <accept suggestion>
method<caret>
↓ <input '('>
method(<caret>some, params, here)
from sublimejedi.
Thank. That's interesting idea
from sublimejedi.
Changes pushed to master
from sublimejedi.
Seems to work great. Any chance to get the same completion for classes now? (ticket #35)
from sublimejedi.
class A:
def __init__(self, a, b='b', *args):
pass
Then a bit below:
A<caret>
input (
A(a=<caret>, b='b')
Dose not works for You?
from sublimejedi.
I have to confess that I've only tried with imported classes and that does not seem to work.
from sublimejedi.
Work for this case.
from string import Template
Template(template=)
My settings (User/sublime_jedi.sublime_settings) on ST2
{
"auto_complete_function_params": "all"
}
from sublimejedi.
Could you share your case, to reproduce?
from sublimejedi.
Sorry, it works now, I've found a separate problem and will file it in a minute. Feel free to close this and #35.
from sublimejedi.
Great
from sublimejedi.
Related Issues (20)
- Nothing happen and no error reported HOT 2
- Additional closing brace in signature popup
- Definition.params is therefore deprecated.
- Signature.to_string() to format call signatures.
- left parentheses does not work HOT 3
- SublimeJEDI doesn't work after install HOT 3
- Fix simple typo: utitilies. -> utilities. HOT 1
- Do not autosuggest packages with dashes in names HOT 3
- Absent `__init__.py` breaks autocomplete and goto functionality. HOT 6
- Setting custom "python_interpreter" in sublime_jedi.sublime_settings does not work in portable python setup.
- Param completion not working HOT 1
- Add "pymdownx" and "pyyaml" in dependencies
- Autocomplete with version 0.18.0 is slower than previous version
- Fix a small error ) HOT 4
- Last version SublimeJEDI dont work on Windows. Cause: jedi version >0.16.0 runtime error for Windows. HOT 3
- Lookup Error, Could not get version information for 'python' HOT 2
- It's does not give priority to sublime default auto complete suggestions
- Inconsistent completed parentheses depending on auto_match_enabled
- Is the project still alive? HOT 3
- Trailing colon breaks function insertion
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 sublimejedi.