alejandrok5 said over 3 years ago on From Editor to IDE :
I would add https://github.com/alexkrechik/VSCucumberAutoComplete for Cucumber  


foton said over 3 years ago on From Editor to IDE :
Interesting video. Some extension I did not know.
For `parallelize(workers: 1)` I preffer to use ENV variable `PARALLEL__WORKERS=1`. In such way You do not slow down other developers of same project.

David Kimura PRO said over 3 years ago on From Editor to IDE :
  Yes, generally that is a good practice with the environment variables. However, I've found in this particular case with the parallel workers, that it also causes reporting issues with simple_cov, so typically, I comment out that line. I have my CI/CD create an artifact of the simple_cov report, so I like keeping it around  😊

foton said over 3 years ago on From Editor to IDE :
1) I am trying now conditional breakpoint, but it stops on every user. Not just the "chosen" one. Fresh new rails app.
2) Test explorer on that app fails to find tests at first. After restart of VSCode it found them. But when I run them, it changes icon to blue "..." circle and then back to gray cirlce with black square. And no messages appears.


David Kimura PRO said over 3 years ago on From Editor to IDE :
That's strange. For the debugger, can you right click on the breakpoint column and try adding a conditional breakpoint there?

For the test explorer, what test framework are you using? You may want to try to go into the config and run the test manually. Also, since VS Code is an electron based application, you can pull up the debugger tools (similar to what is available in Chrome) and see any console outputs. There could be an issue and you'll get, hopefully, a more descriptive output.

dr said over 3 years ago on From Editor to IDE :
Thanks for the great episode really useful.  The one thing stopping me from migrating to VS code to RubyMine is the ability to debug a rails console session which I haven't been able to set up in VS Code.  Do you know if there is any way to do this?  Thanks.

jomaestradama said over 3 years ago on From Editor to IDE :
Congrats for the new look style of the website. I really love this new desing. 

pete said over 3 years ago on From Editor to IDE :
Love using docker, but have not been able to setup Solargraph and Test Exporer :(

pitosalas said over 3 years ago on From Editor to IDE :
I am using Rails 6.1.1 and Ruby 3.0.0 and I am seeing some things in the generated code that don't seem to match yours. General question: which versions of rails and ruby do you recommend for a greenfield app and/or for learning?

David Kimura PRO said over 3 years ago on From Editor to IDE :
What kinds of things are you seeing? I believe this was done pre 6.1.0, but the Ruby version shouldn’t matter. If starting a new app, I would probably target Ruby 3.X. However, if it were something that was a shared library, I would target a lower version but also test compatibility with 3.0.

Simon Kiteley PRO said over 2 years ago on From Editor to IDE :
No idea why. Debugging seems to work great on Rails 6 but not for Rails 7. All my projects are still on Rails 6... so no big problem at the moment. 

David Kimura PRO said over 2 years ago on From Editor to IDE :
I haven't tried the VS Code debugging on Rails 7 yet. I'm still "stuck in the past" with how I debug. I find "puts debugging" to be quick and efficient. I even started to add in little emojis ❤️❤️❤️ to more easily see them in the logs.

johnpitchko said about 2 years ago on From Editor to IDE :
What rails extension do you use? I don't see it listed in the description.

David Kimura PRO said about 2 years ago on From Editor to IDE :
  I don't really use a "Rails" extension. The Solargraph extension does pretty much all I need it to.

Login to Comment