February 05, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Wednesday, 5 February 2014 at 11:55:59 UTC, Suliman wrote:
> 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
Use Sublime's Command Palette. Press Ctrl+Shift+P, and start writing 'update import paths', you'll get it in a drop-down list.
|
February 05, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jordi Sayol | On Wednesday, 5 February 2014 at 09:48:21 UTC, Jordi Sayol wrote:
> 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.
If the server takes 6 minutes to do anything, that's a bug. Can you file this please?
|
February 05, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | El 05/02/14 19:18, Brian Schott ha escrit: > If the server takes 6 minutes to do anything, that's a bug. Can you file this please? https://github.com/Hackerpilot/DCD/issues/108 -- Jordi Sayol |
February 06, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Schott | New DCD and Textadept deb packages on d-apt. http://d-apt.sourceforge.net/ -- Jordi Sayol |
March 02, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to yazd | On Wednesday, 5 February 2014 at 12:45:28 UTC, yazd wrote: > On Wednesday, 5 February 2014 at 11:55:59 UTC, Suliman wrote: >> 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 > > Use Sublime's Command Palette. Press Ctrl+Shift+P, and start writing 'update import paths', you'll get it in a drop-down list. I still can't get it's work. http://dynamic.dlang.ru/Files/2014/20e81184-9e39-427e-b06e-dd4de73bcce2.png Before I would report a bug, could anybody try it? Maybe it's just my issue. My steps: 1. open SL 2. open 2 tabs 3. write code 4. try to compile the code. result on the screenshot. I also tried to run this command, but without result. |
March 02, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | I tried a lot of times, but without result. One man report that for him all works fine, but I do not understand what's wrong in my situation. |
March 04, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Sunday, 2 March 2014 at 10:58:04 UTC, Suliman wrote:
> I tried a lot of times, but without result.
>
> One man report that for him all works fine, but I do not understand what's wrong in my situation.
I originally thought that the issue was with the autocompletion. Now I understand that it's with the compilation of a multiple-file project. The sublime build file provides three variants for building. The first one uses dmd, the second rdmd, and the third is dub. For multiple-file projects, use the rdmd build variant, by instead of building, just run. You can press ctrl-shift-b for that or goto Tools -> Run.
To use the dub build, press ctrl-alt-p, then type dub. You'll get a command that says `Build: dub`
|
March 05, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to yazd | > I originally thought that the issue was with the autocompletion. Now I understand that it's with the compilation of a multiple-file project. The sublime build file provides three variants for building. The first one uses dmd, the second rdmd, and the third is dub. For multiple-file projects, use the rdmd build variant, by instead of building, just run. You can press ctrl-shift-b for that or goto Tools -> Run.
> To use the dub build, press ctrl-alt-p, then type dub. You'll get a command that says `Build: dub`
Can I use DMD build?
|
March 05, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | >I originally thought that the issue was with the autocompletion.
Yes it was, but I tested it's on one file project, and only after it decided to try import modules.
|
May 31, 2014 Re: DCD 0.3.0-beta1 and DScanner 0.1.0-beta1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | Sublime integration update http://dynamic.dlang.ru/Files/2014/Sublime-D-integration-plugin-linux-31-05-2014.zip Screenshot http://dynamic.dlang.ru/Files/2014/87800e29-2dca-49c4-ae79-9f44a2dfe913.png |
Copyright © 1999-2021 by the D Language Foundation