Giter Site home page Giter Site logo

Comments (6)

frabert avatar frabert commented on May 28, 2024

Can you get to a state where running slither-lsp --help in your terminal prints the expected message? If so, could you try running code /path/to/your/project in that same terminal session?

the currently released version seems to be missing some functionality

The features that are currently implemented are mostly navigation features (right click to go to definition/implementation/references, show call/type hierarchy) and showing the SlithIR for functions

from contract-explorer.

shortdoom avatar shortdoom commented on May 28, 2024

Like so?

contract-explorer.webm

It doesn't complain with any errors. I also tried setting debug level higher but the effect is the same. I don't see any of the features you mentioned as an option to select anywhere unfortunately.

from contract-explorer.

frabert avatar frabert commented on May 28, 2024

There's a notification in the bottom right that compilation of the workspace has failed. That's probably the issue.

from contract-explorer.

shortdoom avatar shortdoom commented on May 28, 2024

But why is that? I can compile fine outside of the extension with both slither and crytic-compile. And plugin still fails to work outside of the developer installation (from marketplace).

from contract-explorer.

shortdoom avatar shortdoom commented on May 28, 2024

This is a PATH issue still I think. I changed to foundry repository outside of the regular directory with crytic.config.json and it now successfully compiles for plugin. But, I still can't inspect call/type hierarchy nor there's nothing to do in the plugin sidebar.

contract-explorer2.webm

from contract-explorer.

frabert avatar frabert commented on May 28, 2024

You're still running slither-lsp in TCP mode. Have you tried my suggestions of running code from the same venv where slither-lsp is installed?

Apart from that, I couldn't really see what was happening from the screen recording. What should be happening is the following: a notification showing "compilation for your-workspace has started" and a second one telling that either the compilation was successful, or that there were errors compiling it. Until that notification shows, processing is still in progress and no features are available.

from contract-explorer.

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.