Giter Site home page Giter Site logo

Comments (11)

srusskih avatar srusskih commented on May 27, 2024

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.

patrys avatar patrys commented on May 27, 2024

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.

srusskih avatar srusskih commented on May 27, 2024

Thank. That's interesting idea

from sublimejedi.

srusskih avatar srusskih commented on May 27, 2024

Changes pushed to master

from sublimejedi.

patrys avatar patrys commented on May 27, 2024

Seems to work great. Any chance to get the same completion for classes now? (ticket #35)

from sublimejedi.

srusskih avatar srusskih commented on May 27, 2024
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.

patrys avatar patrys commented on May 27, 2024

I have to confess that I've only tried with imported classes and that does not seem to work.

from sublimejedi.

srusskih avatar srusskih commented on May 27, 2024

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.

srusskih avatar srusskih commented on May 27, 2024

Could you share your case, to reproduce?

from sublimejedi.

patrys avatar patrys commented on May 27, 2024

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.

srusskih avatar srusskih commented on May 27, 2024

Great

from sublimejedi.

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.