D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17453 - I Have Many Issues
Summary: I Have Many Issues
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: visuald (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 critical
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-29 21:35 UTC by Soar
Modified: 2017-06-05 16:51 UTC (History)
1 user (show)

See Also:


Attachments
Build Fail on VS2017 (14.20 KB, image/png)
2017-05-29 21:35 UTC, Soar
Details

Note You need to log in before you can comment on or make changes to this issue.
Description Soar 2017-05-29 21:35:35 UTC
Created attachment 1648 [details]
Build Fail on VS2017

First is why not let ppl do not use github Issues function?as a new language,thats not friendly for all.(u know even create a new account is not very hard)

now,lets talk about VisualD's Problems.
1.cant build any Program on VS 2017. 
this attachment is screenshot of Build Fail
Comment 1 Soar 2017-05-29 21:46:20 UTC
2.can support more highlight of library(class,struct)?
3.can more good support for IntelliSense?
such like "this.?" "variable.?"
4.is there have any possibility to support a official GUI design tool(Of course thats need official has a great GUI project)?
5.support .sdl file?


The above problemsfound when i use VS2015 VisualD 0.44.2 .
Comment 2 Soar 2017-05-29 21:53:29 UTC
and other bugs.
when i create a project,has
myproject/core/exception.d directory and file hierarchy

the VisualD will give me a error in the time.d
because the std library of timd.d has 
import core.exception;
.
this is one.
another is when my project has a file like myproject.d
and im write a module in a file like "module winmain;"
but i cant use any other like "module winmain.?"


Error: module winmain from file winmain.d conflicts with package name winmain		d:\Users\Soar\documents\visual studio 2015\Projects\myproject\myproject\winmain.d	1
Comment 3 Rainer Schuetze 2017-05-30 19:23:21 UTC
> First is why not let ppl do not use github Issues function?

All dlang reports are collected together in this bugzilla database that exists longer than github.

> Build Fail on VS2017

The problem here is that the wrong link.exe is called. You are building for Win32 which defaults to using OPTLINK that comes with dmd. It is not found in the executable search paths, though. You should verify in "Tools->Option->Project and Solutions->Visual D Settings->DMD directories" that the DMD installation folder is set correctly, and that $(DMDInstallDir)windows\bin is listed in the executable search paths.

> 2.can support more highlight of library(class,struct)?

I'm not sure what you mean. Semantic highlighting of types? Would be nice, but not an easy task if you want to avoid to many false types.

> 3.can more good support for IntelliSense? such like "this.?" "variable.?"

You might want to have a look at the language optionss (accessible through the Visual D menu), especially "show expansion when".

> 4.is there have any possibility to support a official GUI design tool(Of course thats need official has a great GUI project)?

As you mention, there is no official UI library. Even if there is one it is currently out of the scope of Visual D itself. Contributions welcome, though.

> 5.support .sdl file?

Do you mean dub support? It's currently the other way around: you can generate Visual D projects with "dub generate visuald".
Comment 4 Rainer Schuetze 2017-05-30 19:26:49 UTC
> when i create a project,has
> myproject/core/exception.d directory and file hierarchy

> and im write a module in a file like "module winmain;"
> but i cant use any other like "module winmain.?"

That's how the module system works (and the compiler complaining about misusage). You might want to check the language specifications, e.g. https://dlang.org/spec/module.html. Questions about it might be more appropriate on the forum: https://forum.dlang.org/group/learn
Comment 5 Soar 2017-05-30 22:05:49 UTC
(In reply to Rainer Schuetze from comment #4)
> > when i create a project,has
> > myproject/core/exception.d directory and file hierarchy
> 
> > and im write a module in a file like "module winmain;"
> > but i cant use any other like "module winmain.?"
> 
> That's how the module system works (and the compiler complaining about
> misusage). You might want to check the language specifications, e.g.
> https://dlang.org/spec/module.html. Questions about it might be more
> appropriate on the forum: https://forum.dlang.org/group/learn

if directly use dub to complete,thats will be build sucess
Comment 6 Soar 2017-05-30 22:10:20 UTC
and thank u reply for other problems.
i will try do thats.
Comment 7 Soar 2017-05-31 22:05:35 UTC
> > 3.can more good support for IntelliSense? such like "this.?" "variable.?"
> 
> You might want to have a look at the language optionss (accessible through
> the Visual D menu), especially "show expansion when".


2.such like:

class MainForm : Form {
   public this() {
	   this.text = "DGui Form";
	   this.size = Size(500, 400);
	   this.startPosition = FormStartPosition.centerScreen; // Set Form Position
	   Label l=new Label();
	   l.position=Point(0,0);
	   l.text="Account ID..........";
	   l.parent=this;

	  // l.size = Size(60, 40);

   }
}


//i cant list l.?
//i cant list this.?

i have setting the Visual D Setting> "DMD install path" "Impots paths" "Library paths" and Intellisense>"writing an identifier"
where,not mate which i chose,thats still cant list the member after "l.?" "this.?".

the library is from https://github.com/o3o/dguihub
Comment 8 Rainer Schuetze 2017-06-03 07:08:53 UTC
> still cant list the member after "l.?" "this.?".

It seems you might be running into something similar to issue 17260.

I cannot reproduce locally with your example, but it very much depends on the full source code and especially the imports. Does the status line continue to display "Pending semantic analysis request"?

I've also made a few improvements recently. You might want to try the preliminary build from appveyor: https://ci.appveyor.com/project/rainers/visuald/build/job/p04yes499l3omkcr/artifacts
Comment 9 Soar 2017-06-04 14:20:14 UTC
(In reply to Rainer Schuetze from comment #8)
> > still cant list the member after "l.?" "this.?".
> 
> It seems you might be running into something similar to issue 17260.
> 
> I cannot reproduce locally with your example, but it very much depends on
> the full source code and especially the imports. Does the status line
> continue to display "Pending semantic analysis request"?
> 
> I've also made a few improvements recently. You might want to try the
> preliminary build from appveyor:
> https://ci.appveyor.com/project/rainers/visuald/build/job/p04yes499l3omkcr/
> artifacts

yes,mate,its always display the status msg:"Pending semantic analysis request".
but never give out any members list.

thank you. i will trying.
Comment 10 Rainer Schuetze 2017-06-05 16:51:30 UTC
I've fixed issue 17260, should affect your code, too. Try https://github.com/dlang/visuald/releases/tag/v0.45.0-beta1

If problems still exist, please open more specific reports.