#coder gave me a quite nice idea:

There are project dependencies now - though the info text in this image is outdated (will fix this soon)
To avoid problems with wrong include paths and/or wrong paths to static libraries that shall be linked in to executables,
you can add reference(s) to one or more projects inside the same solution – like we’re used to have this as in C#.
Important: If your referenced project is a static library, the output name will be added to the imported lib list automatically while building – so you just have to check the respective project but you don’t have to enter any paths no more. Code completion will also be shared – so once checked, all sources from the referenced project will be available in the owner project. – Extremely useful in such static lib <-> executable program situations.
Further dependency stuff will be added soon (e.g. building the solution from the least to the most dependent project etc.)
+ There’ve been some parser improvements concerning enums.
7 Comments
I have few issues/bugs or you can say enhancement request
.
1. Tooltip window appears when you hover your mouse on a variable name or method name in the code but the tooltip window is just blank. Ideally it will be great to see the “Type” of variable, if mouse is on variable or method documentation, if mouse is on method. “Variable” type part is important and very helpful when you are debugging code, especially if variable was in class or global scope and you are inside a function.
2. While debugging the code, I can see the variable data in the “locals” window but if some variable was on class level then watch window doesn’t recognize the symbol and doesn’t show the data.
3. Let’s take the following code as an example:
/**
* some help
*/
class abc
{
/**
* constructor 1 help
*/
this(int a)
{
….
}
/**
* constructor 2 help
*/
this(int a, int b)
{
….
}
}
Now if I am trying to use this class:
auto a = new abc
so at this point it will show the tooltip help of “class” before using the parenthesis, which is correct and helpful. But now as I add an opening parenthesis then I expect it to show the tooltip for both constructors and ideally it should show the method signature for both methods like c# intellisense but currently it still shows the class “help”.
1. Though the tooltip isn’t empty here, it’s indeed rather usable to have things like “Type” or “Variable” etc. as text prefix
2. That’s something for the todo list
3. Sure – it’s quite unimplemented in that corner. ‘this’ currently resolves to the class symbol, not to the actual ctor – but yeah, I will enqueue it into my current implementations
For the point number 1, either we are talking about different issues or it’s just the platform issue. I am using Ubuntu with MonoDevelop 3.1.0.
If I am typing the class method name or a member variable name then yes it shows the tooltip and that works. But once I finish coding and later if I hover my mouse on the method or variable then it doesn’t show tooltip , just an empty window.
Yeah I have the same issue with empty tooltips on ubuntu with MD 3.1.0. (It worked fine in the older version.)
There are few other issues with the latest MD version – like parser errors that aren’t shown anymore though I haven’t changed anything..very strange – but yeah, I’m currently focused on improving the code completion.
I’ll have a look on it in a couple of days
Thanks for the update and it’s working fine now.
Probably better to handle now + extreme portability boost^^