Comments (4)
I got the same error the first time I tried to run TypeProf on VSCode.
I changed path of typeprof executable for VSCode to use (You can open the setting file from Preferences>Settings>Extensions>Ruby TypeProf>Edit in settings.json) and the extension worked fine.
I wonder if I can pass an executable file that exists on the PATH to VSCode without any configuration.
from typeprof.
Thank you for your report!
Currently, vscode-typeprof runs commands in a login shell. So, the environment of shell where code .
is invoked is not respected. I wrote this mechanism based on solargraph. However, solargraph seems to have the same issue.
I'll later consider what I can do against this issue. I'm sorry to keep you waiting.
from typeprof.
BTW, vscode-typeprof invokes ./bin/typeprof
command if any. You may want to create the file and write your setup to invoke typeprof command.
from typeprof.
Standard binstub will yield the same error, as it still picks up the wrong ruby/bundler
from typeprof.
Related Issues (20)
- undefined method: singleton HOT 1
- A feature to ignore errors on a specified line
- Error message with rbs_collection HOT 7
- Updating a Rails app to Ruby 3.1.2 breaks typrof HOT 1
- Importing RBS::AST::Members::ClassInstanceVariable is not supported yet
- Typing of dynamic methods and variables
- Fail to start TypeProf for IDE on zsh
- Typeprof failed to start when rbs_collection.lock.yaml doesn't exist.
- tests not working for 0.21.7 on ruby 3.1 HOT 1
- test dependency sider/goodcheck is gone HOT 1
- Tests for version 0.21.8 are failing in ruby 3.2.2 with rbs 2.8.2
- Incorrect signature type with conditional implicit return HOT 3
- Summarizing the Prism AST Coverage
- Now `tool/dog_bench.rb` cannot handle `core/ast/base.rb` HOT 1
- Type `::Range` is generic but used as a non generic type
- Methods defined in a Struct.new block end up on parent module
- `include Enumerable` causes error
- Instance variables are sometimes incorrectly added to `Object` HOT 1
- Instance variables in subclasses sometimes are defined incorrectly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typeprof.