Giter Club home page Giter Club logo

Comments (8)

castwide avatar castwide commented on May 25, 2024 1

Version 0.5.0 of the extension is published. Among other things, it fixes HTML in documentation.

Method param support is still in progress.

from vscode-solargraph.

didacusAbella avatar didacusAbella commented on May 25, 2024 1

I find the problem. Is related to this issue. The problem is not related to your extension. Is vscode that in my system not update the environment variables correctly. if I lauch the editor from my menu. But if I launch from command line all works properly.

from vscode-solargraph.

castwide avatar castwide commented on May 25, 2024

Thanks!

A fix for HTML in documentation will be included in the next update.

Improved support for method params is on the roadmap, including type detection from param tags.

from vscode-solargraph.

didacusAbella avatar didacusAbella commented on May 25, 2024

Perfect. I'll wait for the updates

from vscode-solargraph.

castwide avatar castwide commented on May 25, 2024

Extension v0.5.1 and gem v.0.9.1 are published. If a method's documentation includes param tags, the name, type(s), and description will be listed below the summary in the completion and signature popups. Return types for arguments will also be inferred inside of methods; e.g., in the SportStructure example, referencing opt while inside the initialize method will recognize it as a Hash.

from vscode-solargraph.

didacusAbella avatar didacusAbella commented on May 25, 2024

Great it's awesome! The updates working but I have a problem. The doc folder and yardoc not be generated by extension anymore. I have to generate manually. It's very strange because analyzing the developer's console of VsCode when i save a ruby files the yard command is lauched as you can see in the screenshot.
screen
Note: the doc folder is here because I lauched it manually for try if the command was correct. Other info that I can give you is that the solargraph and yard gem are installed user-wide, the system is Archlinux and I have yet setted the absolute path of solargraph into settings of Visual Studio Code.

from vscode-solargraph.

castwide avatar castwide commented on May 25, 2024

I'm looking into this, but so far I have not been able to reproduce the problem in Windows 10 or CentOS 7. It doesn't look like the yardoc command sent any errors to your developer's console, either.

Just to confirm, if you do the following:

  1. Delete the .yardoc and doc folders
  2. Edit and save a ruby file

Solargraph should regenerate .yardoc and doc. That's not happening?

Do you have any other processes running that might block the yardoc update, such as yard server or a doc page open in a browser?

from vscode-solargraph.

didacusAbella avatar didacusAbella commented on May 25, 2024

I'll close the issue because every feature has been implemented

from vscode-solargraph.

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.