Git Product home page Git Product logo

Comments (3)

davidlattimore avatar davidlattimore commented on May 7, 2024 1

I've added tab completion to the jupyter kernel (using rust-analyzer). The REPL still has history-based tab completion. @aminroosta or anyone else, do you have any opinion on the best way forward with the REPL? Should we switch it to just use rust-analyzer based completion, or is there value in the keeping the history-based completion? If we were to have both, do you think a config option to switch between them, or get results from both and merge them somehow?

from evcxr.

aminroosta avatar aminroosta commented on May 7, 2024

First, thanks for adding the rust-analyzer to jupyter kernel 👍 - I will definitely check that out.

As for the REPL, considering rust-analyzer completions are way smarter, i personally see little point in keeping history-based completion.

My guess is that most of those variable or function names, will also be suggested by rust-analyzer.

from evcxr.

davidlattimore avatar davidlattimore commented on May 7, 2024

Cool. I've just pushed a change to integrate it into the REPL. I'll probably do a release soon, but if anyone notices any problems with what's at HEAD, please do let me know.

I included function arguments in the tab completion. So the completion might look like slice_unchecked(begin, end). Not sure if having the (begin, end) there is good or not. Open to feedback. We can make it a config option if there's differing preferences.

from evcxr.

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.