Giter VIP home page Giter VIP logo

Comments (7)

nobodywasishere avatar nobodywasishere commented on September 27, 2024

Can you post the full output of the Crystal output channel?

from vscode-crystal-lang.

wileycoleman avatar wileycoleman commented on September 27, 2024

The output tab is blank.

from vscode-crystal-lang.

nobodywasishere avatar nobodywasishere commented on September 27, 2024

You need to select "Crystal" from the dropdown at the top right of the panel

from vscode-crystal-lang.

wileycoleman avatar wileycoleman commented on September 27, 2024

[Crystal] extension loaded
[Hover] getting context...
[Dependencies] epub_reader $ /usr/bin/crystal tool dependencies /home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr -f flat --no-color
[Hover] error: undefined
[Hover] getting context...
[Dependencies] epub_reader $ /usr/bin/crystal tool dependencies /home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr -f flat --no-color
[Hover] error: undefined
[Dependencies] epub_reader $ /usr/bin/crystal tool dependencies /home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr -f flat --no-color
[Dependencies] error: In src/epub_reader.cr:1:24

1 | def testing_ext(file : string)
^
Error: unexpected token: "string"

[Problems] (epub_reader) $ /usr/bin/crystal build src/epub_reader.cr --no-debug --no-color --no-codegen --error-trace -f json -o /dev/null
[Problems] Error: [{"file":"/home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr","line":1,"column":24,"size":null,"message":"unexpected token: "string""}]

[Hover] getting context...
[Dependencies] epub_reader $ /usr/bin/crystal tool dependencies /home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr -f flat --no-color
[Dependencies] error: In src/epub_reader.cr:1:24

1 | def testing_ext(file : string)
^
Error: unexpected token: "string"

[Hover] error: undefined
[Problems] (epub_reader) $ /usr/bin/crystal build src/epub_reader.cr --no-debug --no-color --no-codegen --error-trace -f json -o /dev/null
[Problems] Error: [{"file":"/home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr","line":1,"column":24,"size":null,"message":"unexpected token: "string""}]

[Hover] getting context...
[Dependencies] epub_reader $ /usr/bin/crystal tool dependencies /home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr -f flat --no-color
[Dependencies] error: In src/epub_reader.cr:1:24

1 | def testing_ext(file : string)
^
Error: unexpected token: "string"

[Hover] error: undefined
[Problems] (epub_reader) $ /usr/bin/crystal build src/epub_reader.cr --no-debug --no-color --no-codegen --error-trace -f json -o /dev/null
[Problems] Error: [{"file":"/home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr","line":1,"column":24,"size":null,"message":"unexpected token: "string""}]

[Hover] getting context...
[Dependencies] epub_reader $ /usr/bin/crystal tool dependencies /home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr -f flat --no-color
[Dependencies] error: In src/epub_reader.cr:1:24

1 | def testing_ext(file : string)
^
Error: unexpected token: "string"

[Hover] error: undefined
[Problems] (epub_reader) $ /usr/bin/crystal build src/epub_reader.cr --no-debug --no-color --no-codegen --error-trace -f json -o /dev/null
[Problems] Error: [{"file":"/home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr","line":1,"column":24,"size":null,"message":"unexpected token: "string""}]

[Dependencies] epub_reader $ /usr/bin/crystal tool dependencies /home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr -f flat --no-color
[Hover] getting context...
[Dependencies] epub_reader $ /usr/bin/crystal tool dependencies /home/cynthia/projects/crystal/epub_reader/src/epub_reader.cr -f flat --no-color
[Hover] error: undefined

from vscode-crystal-lang.

wileycoleman avatar wileycoleman commented on September 27, 2024

The above is from changing "String" to "string" then back. (saving file in between actions.)

from vscode-crystal-lang.

nobodywasishere avatar nobodywasishere commented on September 27, 2024

Thank you. In the meantime for things to work you can disable a lot of the features to just use snippets and syntax highlighting. Check this repo's README for more info

from vscode-crystal-lang.

nobodywasishere avatar nobodywasishere commented on September 27, 2024

I've also run into some weird ghosting with Crystal sometimes recently. Does it still happen if you try building from the command line? crystal clear_cache may help.

from vscode-crystal-lang.

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.