SmartQuant Discussion
http://www.smartquant.com/forums/

Support running external tools on code file
http://www.smartquant.com/forums/viewtopic.php?f=61&t=10368
Page 1 of 1

Author:  kkkwj [ Sun Oct 21, 2012 1:30 am ]
Post subject:  Support running external tools on code file

Currently OQ has no support for running external tools on the code file in the editor. I suppose this has not been a big limitation for most people, because non-technical programmers probably don't miss the functionality, and more sophisticated technical programmers probably do most of their development work in Visual Studio, where the external tools facility exists. Nonetheless, I will record the request here.

In Visual Studio, I have several options for formatting my strategy code. VS provides its own set of automatic formatting options, plus my (excellent) ReSharper plugin for VS provides additional formatting options, plus I have been using a more powerful external code formatter for years (PolyStyle, now discontinued), and recently I wrote my own simple formatter to provide Polystyle-like functionality that VS and ReSharper do not.

In VS, I can press a few hot keys to tell VS to write out my code file, format it using my external formatter, read the file back into the VS editor, and place the cursor where it was before formatting occurred. This is a very convenient function, since it allows me to keep my code "beautiful" the way I like it (mostly preserving screenspace both horizontally and vertically).

I think it would be nice to have the same external tools functionality in OQ, especially for those people who don't work in VStudio.

Author:  Dr. Anton Fokin [ Sun Oct 21, 2012 10:26 am ]
Post subject:  Re: Support running external tools on code file

Hi Kevin,

I guess native OQ integration into Visual Studio (as plugin or isolated shell) would look and feel much better than all other tricks (like attaching OQ as an external process to Visual Studio).

We are currently actively working on this.

Regards,
Anton

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/