VS Code for Ruby – Experience?!

Hi,

Has anybody experience using Visual Studio Code for Ruby?

I haven’t got a special problem and I dont’t want to start another IDE war, but I’m looking for some real life experience with this IDE and Ruby; is somebody using VS Code for developing Ruby applications? Any pros/cons re. this setup? Something a starter with this setup should now about?

I’m on Mac using the latest Ruby and VS Code installations with the »standard« Ruby extension rebornix.Ruby and necessary dependecies like ruby-debug-ide, debase installed.

Many thanks!

Regards,
Michael

Hello Michael
I worked with Rails Apps and dont recommend vscode. If there is an Ide use
the ide instead of a code editor: makes the workflow cleaner and help you
keep the code consistent. Use text editors only when studying or if the
language or framework does not have an ide.

Best Regards

Pedro

···

Em qui, 21 de dez de 2017 09:33, Michael Schwarze <michael@schwarze-web.de> escreveu:

Hi,

Has anybody experience using Visual Studio Code for Ruby?

I haven’t got a special problem and I dont’t want to start another IDE
war, but I’m looking for some real life experience with this IDE and Ruby;
is somebody using VS Code for developing Ruby applications? Any pros/cons
re. this setup? Something a starter with this setup should now about?

I’m on Mac using the latest Ruby and VS Code installations with the
»standard« Ruby extension rebornix.Ruby and necessary dependecies like
ruby-debug-ide, debase installed.

Many thanks!

Regards,
Michael

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

I'm using Atom, give it a try if you like. VS Code is good too.

···

On Thu, Dec 21, 2017 at 12:39 PM, Pedro Paulino <pfpmessias@gmail.com> wrote:

Hello Michael
I worked with Rails Apps and dont recommend vscode. If there is an Ide
use the ide instead of a code editor: makes the workflow cleaner and help
you keep the code consistent. Use text editors only when studying or if
the language or framework does not have an ide.

Best Regards

Pedro

Em qui, 21 de dez de 2017 09:33, Michael Schwarze <michael@schwarze-web.de> > escreveu:

Hi,

Has anybody experience using Visual Studio Code for Ruby?

I haven’t got a special problem and I dont’t want to start another IDE
war, but I’m looking for some real life experience with this IDE and Ruby;
is somebody using VS Code for developing Ruby applications? Any pros/cons
re. this setup? Something a starter with this setup should now about?

I’m on Mac using the latest Ruby and VS Code installations with the
»standard« Ruby extension rebornix.Ruby and necessary dependecies like
ruby-debug-ide, debase installed.

Many thanks!

Regards,
Michael

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Hey Michael

I have been using VSCode for like a half year. I can say it's quite not bad
wrt its a microsoft tool, but am primarily using it as a text editor + file
management.
Pros.
Code Lintering and formatting
File management
Git integration
VSCode well understands all other programming languages, so in
multi-language project it's very usefull and easy to use. Am using it as
well for Python and JS coding.
Quite lightweight and fast in comparison with RubyMine, Aptana or Eclipse.

Cons:
Debugging can be sometimes very slow and wonky, so I don't use VSCode
neither for code run nor for debugging. First of all it's not that simple
to stop the running app there. There is no direct button to do so - only
hot keys. And sometimes it just doesn't work - the ruby app will just hang
unless you manually kill the process.
For debugging, trying to see a variable with a long list of values may work
very slow, much slower than from the command line.

Hope that helps

Regards,
Ivan

···

On 21 December 2017 at 11:27, Michael Schwarze <michael@schwarze-web.de> wrote:

Hi,

Has anybody experience using Visual Studio Code for Ruby?

I haven’t got a special problem and I dont’t want to start another IDE
war, but I’m looking for some real life experience with this IDE and Ruby;
is somebody using VS Code for developing Ruby applications? Any pros/cons
re. this setup? Something a starter with this setup should now about?

I’m on Mac using the latest Ruby and VS Code installations with the
»standard« Ruby extension rebornix.Ruby and necessary dependecies like
ruby-debug-ide, debase installed.

Many thanks!

Regards,
Michael

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Hye, i come across a big problem for me today. I use active_record 4.2.8 version, and I need to add gem `composite_primary_keys`, '8.1.6' in my rails app
to use composie primary keys in one of my modle. But the problem is that anthor modle's function trigger the function `delete_all`, which trigger the function
`subquery_for` at last. The problem is that, it's fine to use this function when only active_record works, but now when `composite_primary_keys` is added,
then function `subquery_for` called will go to the code which defined in `composite_primary_keys` rather than active_record before!

How can I solve this problem? And any tips to use gems in smallest auth in my code, such as just load that gem `composite_primary_keys` in needed modle file
instead of whole rails app?

Any response is really really high preciated! Thank you very much! Good night!

···

------------------
顺送时祺!
From: Leon Deng

------------------ 原始邮件 ------------------
发件人: "Ivan Pevtsov";<ivan.pevtsov@gmail.com>;
发送时间: 2017年12月21日(星期四) 晚上8:08
收件人: "Ruby users"<ruby-talk@ruby-lang.org>;

主题: Re: VS Code for Ruby – Experience?!

Hey Michael

I have been using VSCode for like a half year. I can say it's quite not bad wrt its a microsoft tool, but am primarily using it as a text editor + file management.
Pros.
Code Lintering and formatting
File management
Git integration
VSCode well understands all other programming languages, so in multi-language project it's very usefull and easy to use. Am using it as well for Python and JS coding.
Quite lightweight and fast in comparison with RubyMine, Aptana or Eclipse.

Cons:
Debugging can be sometimes very slow and wonky, so I don't use VSCode neither for code run nor for debugging. First of all it's not that simple to stop the running app there. There is no direct button to do so - only hot keys. And sometimes it just doesn't work - the ruby app will just hang unless you manually kill the process.
For debugging, trying to see a variable with a long list of values may work very slow, much slower than from the command line.

Hope that helps

Regards,
Ivan

On 21 December 2017 at 11:27, Michael Schwarze <michael@schwarze-web.de> wrote:
Hi,

Has anybody experience using Visual Studio Code for Ruby?

I haven’t got a special problem and I dont’t want to start another IDE war, but I’m looking for some real life experience with this IDE and Ruby; is somebody using VS Code for developing Ruby applications? Any pros/cons re. this setup? Something a starter with this setup should now about?

I’m on Mac using the latest Ruby and VS Code installations with the »standard« Ruby extension rebornix.Ruby and necessary dependecies like ruby-debug-ide, debase installed.

Many thanks!

Regards,
Michael

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

You will likely get more/better answers if

1. you don't hijack totally unrelated threads

2. you provide some code or a test case that illustrates your issue

···

On Wed, Dec 27, 2017 at 7:15 AM, Leon Deng <litongdeng@qq.com> wrote:

Hye, i come across a big problem for me today.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

Hi Ivan,

Thank you very much for your detailed feedback, it really helped me!

I came across VS Code in a multi language environment and liked it, although it being from Microsoft :wink: But with Ruby it felt a little bit awkward, esp. debugging; precisely as you wrote!

Regards,
Michael

···

Am 21.12.2017 um 13:08 schrieb Ivan Pevtsov <ivan.pevtsov@gmail.com>:

Hey Michael

I have been using VSCode for like a half year. I can say it's quite not bad wrt its a microsoft tool, but am primarily using it as a text editor + file management.
Pros.
Code Lintering and formatting
File management
Git integration
VSCode well understands all other programming languages, so in multi-language project it's very usefull and easy to use. Am using it as well for Python and JS coding.
Quite lightweight and fast in comparison with RubyMine, Aptana or Eclipse.

Cons:
Debugging can be sometimes very slow and wonky, so I don't use VSCode neither for code run nor for debugging. First of all it's not that simple to stop the running app there. There is no direct button to do so - only hot keys. And sometimes it just doesn't work - the ruby app will just hang unless you manually kill the process.
For debugging, trying to see a variable with a long list of values may work very slow, much slower than from the command line.

Hope that helps

Regards,
Ivan

On 21 December 2017 at 11:27, Michael Schwarze <michael@schwarze-web.de> wrote:
Hi,

Has anybody experience using Visual Studio Code for Ruby?

I haven’t got a special problem and I dont’t want to start another IDE war, but I’m looking for some real life experience with this IDE and Ruby; is somebody using VS Code for developing Ruby applications? Any pros/cons re. this setup? Something a starter with this setup should now about?

I’m on Mac using the latest Ruby and VS Code installations with the »standard« Ruby extension rebornix.Ruby and necessary dependecies like ruby-debug-ide, debase installed.

Many thanks!

Regards,
Michael

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;