January 31, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | On 2/1/14, Brian Schott <briancschott@gmail.com> wrote: > The popen function in Lua on Windows has been a pain for a while now. I think until a better fix is added to Textadept's process handling code I'm going to have to say that TA is not supported on Windows. Fair enough, I don't really use TA, I was just testing it. > If you do manage to make a SciTE plugin, let me know. Well TA is really just a glorified version of Scite anyway, the scripts should be close to compatible methinks. I'll give it a go tomorrow. |
February 01, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | On Friday, 31 January 2014 at 23:30:19 UTC, Andrej Mitrovic wrote:
> On 2/1/14, Brian Schott <briancschott@gmail.com> wrote:
>> If you do manage to make a SciTE plugin, let me know.
>
> I'll give it a go tomorrow.
Well I can make it work, but the problem is the command window pops up for a split second, which is extremely annoying. Apparently Lua only has APIs for calling into system(), which basically invokes cmd.exe and spawns a window.
Apparently there's no equivalent to D's execute() in Lua which doesn't spawn any windows.
The only alternative I can think of is to implement the client (dcd-client) in Lua itself, but that's too much work especially since I barely know the language..
|
February 01, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
On Fri, 2014-01-31 at 21:14 +0100, Jordi Sayol wrote: > New Dscanner v0.1.0-beta2 deb package available at "d-apt": > > http://d-apt.sourceforge.net/ > Thanks Jordi. Duly installed :-) -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
February 01, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | On 2/1/14, Brian Schott <briancschott@gmail.com> wrote:
> If you do manage to make a SciTE plugin, let me know.
Well I'm getting close. I've managed to configure a Lua script that gets run and can emit a listbox with suggestions, I just have to figure out how to call the DCD client from within Lua. Never used Lua before.
|
February 01, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
On 2/1/14, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> On 2/1/14, Brian Schott <briancschott@gmail.com> wrote:
>> If you do manage to make a SciTE plugin, let me know.
>
> Well I'm getting close. I've managed to configure a Lua script that gets run and can emit a listbox with suggestions, I just have to figure out how to call the DCD client from within Lua. Never used Lua before.
Eh what am I saying, the TextAdept script is also a Lua script. I can adapt that. Will see if it works..
|
February 02, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | Adding gtkd2 sources to "dcd-server" takes more than 6 minutes. Is this correct?
--
Jordi Sayol
|
February 04, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | It's look like Sublime do not understand from which folder module should be imported. It's do not colorized import readconfig; if readconfig.d are putted in folder with main file. |
February 04, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Tuesday, 4 February 2014 at 10:19:46 UTC, Suliman wrote: > It's look like Sublime do not understand from which folder module should be imported. > > It's do not colorized > import readconfig; > if readconfig.d are putted in folder with main file. Try running 'DKit: Update Import Paths' command in Sublime. If that doesn't resolve it, please submit a bug https://github.com/yazd/DKit. |
February 05, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | Including basic dmd "phobos" "druntime/import" when dcd-server is loaded, in my system takes about 10 seconds, and much more if I add i.e. gtkd (about 6 minutes!).
Is it possible to include them to the dcd-server cache by demand? This should be much faster.
i.e. dcd-server can read "only" the module names in the included paths at start up, and then load everything else when a specific module is imported in the source code. When a source file is open by the editor, add its imports to update dcd-server cache. If imported module has public imports, these modules should be loaded too.
--
Jordi Sayol
|
February 05, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to yazd | On Tuesday, 4 February 2014 at 20:09:18 UTC, yazd wrote: > On Tuesday, 4 February 2014 at 10:19:46 UTC, Suliman wrote: >> It's look like Sublime do not understand from which folder module should be imported. >> >> It's do not colorized >> import readconfig; >> if readconfig.d are putted in folder with main file. > > Try running 'DKit: Update Import Paths' command in Sublime. If that doesn't resolve it, please submit a bug https://github.com/yazd/DKit. Should I past it's here? http://snag.gy/h6b0f.jpg |
Copyright © 1999-2021 by the D Language Foundation