Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » New Assist features
New Assist features [message #59001] Mon, 10 October 2022 14:43 Go to next message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
index.php?t=getfile&id=6676&private=0

(now showing errors as you type...)

Also I have added Alt+Shift+U - similar to Alt+U (show all references), but shows all references for symbol at cursor instead of current function.

Mirek

[Updated on: Mon, 10 October 2022 15:54]

Report message to a moderator

Re: New Assist features [message #59003 is a reply to message #59001] Mon, 10 October 2022 17:31 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

Glad that this landed. It is game changer for TheIDE! Thank you for your great work!

Klugier


U++ - one framework to rule them all.
Re: New Assist features [message #59004 is a reply to message #59003] Tue, 11 October 2022 02:29 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 527
Registered: March 2007
Contributor
Glad to see that theide is making new process. Thanks for the dedication!
Re: New Assist features [message #59006 is a reply to message #59001] Tue, 11 October 2022 14:25 Go to previous messageGo to next message
peterh is currently offline  peterh
Messages: 108
Registered: November 2018
Location: Germany
Experienced Member
mirek wrote on Mon, 10 October 2022 14:43

Also I have added Alt+Shift+U - similar to Alt+U (show all references), but shows all references for symbol at cursor instead of current function.
Mirek


Alt+Shift+U also works with overloaded operators.
This is especially useful if I read code, that I have not written and do not understand.

Thank you very much!
Re: New Assist features [message #59026 is a reply to message #59001] Mon, 17 October 2022 09:51 Go to previous messageGo to next message
Tom1
Messages: 1216
Registered: March 2007
Senior Contributor
Hi Mirek,

While 'now showing errors as you type...' feature first appears great, I have noticed that my focus gets distracted by this feature especially when slowly writing and intensely thinking about some more complex programming challenges. So, could you make this feature optional in Assist Settings?

Thanks and best regards,

Tom
Re: New Assist features [message #59029 is a reply to message #59026] Mon, 17 October 2022 10:13 Go to previous messageGo to next message
peterh is currently offline  peterh
Messages: 108
Registered: November 2018
Location: Germany
Experienced Member
Yes, or introduce larger time delay after last keypress or less brightness and saturation or adjustable color.
Re: New Assist features [message #59030 is a reply to message #59026] Mon, 17 October 2022 11:15 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Tom1 wrote on Mon, 17 October 2022 09:51
Hi Mirek,

While 'now showing errors as you type...' feature first appears great, I have noticed that my focus gets distracted by this feature especially when slowly writing and intensely thinking about some more complex programming challenges. So, could you make this feature optional in Assist Settings?

Thanks and best regards,

Tom


Yes, in TODO already.

That said, theide was showing red behind wrong parenthesis for ages now...

Also, yesterday I have changed "error at the end of line" (usually missing semicolon) to show just as single character.

Mirek

[Updated on: Mon, 17 October 2022 11:16]

Report message to a moderator

Re: New Assist features [message #59031 is a reply to message #59030] Mon, 17 October 2022 12:04 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
So

- you can now switch it off in settings
- you can setup the color
- it might be now be little less invasive as I have removed some 'false' moments to do the check
- some related bugs (like error at the end of some includes) fixed
- there is now status icon "OK" / "Errors" in the left corner; it can be switched off as well

Mirek
Re: New Assist features [message #59032 is a reply to message #59031] Mon, 17 October 2022 14:12 Go to previous messageGo to next message
Tom1
Messages: 1216
Registered: March 2007
Senior Contributor
mirek wrote on Mon, 17 October 2022 13:04
So

- you can now switch it off in settings
- you can setup the color
- it might be now be little less invasive as I have removed some 'false' moments to do the check
- some related bugs (like error at the end of some includes) fixed
- there is now status icon "OK" / "Errors" in the left corner; it can be switched off as well

Mirek

Thanks, Mirek!

BR, Tom
Re: New Assist features [message #59033 is a reply to message #59032] Tue, 18 October 2022 14:32 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
It now makes red dots in scrollbar to show where errors are...
Re: New Assist features [message #59055 is a reply to message #59033] Sat, 22 October 2022 16:47 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I discussed this already with Mirek, but I am not happy how the new OK state is presented within TheIDE. I know that I can turn it off, but it is a default option, so all users will be affected by this change and I do not want to read that our UI feels like 90s. For me it is too invasive, it is colliding with line numbers, breakpoints and documentation annotation. TheIDE should be more minimal and less visually heavy. Screenshot with the new OK state below (top left corner of CodeEditor):
index.php?t=getfile&id=6686&private=0

Can we just do not show nothing and display only errors only in scrollbar? I know that Mirek might be affraid that the check doesn't run, but it means that we have a bug that needs to be eliminated. We can show this OK/Errors state in verbose mode for debug purpose. Also, most of IDE's doesn't display this state, so precedence in this case is risky and unnecessary. The final option is to do not show this icon by default and make it optional.

Moreover, the default Navigator position was bring back from right to left. I understand that it is harder to read expanded symbols, but the overall default layout of TheIDE suffers from it. It is much easier to navigate with the mouse from CodeEditor to list of files when Navigator is not between Files/Packages and CodeEditor. Also, right now you can not just do not use Navigator, it is integrated part of expirience, because it shows the progression of parsing. Maybe we can move information about parsing somwhere else for example to status bar, which is hidden by default?

Klugier
  • Attachment: OKState.png
    (Size: 97.94KB, Downloaded 474 times)


U++ - one framework to rule them all.

[Updated on: Sat, 22 October 2022 17:57]

Report message to a moderator

Re: New Assist features [message #59074 is a reply to message #59055] Thu, 27 October 2022 11:59 Go to previous messageGo to next message
Tom1
Messages: 1216
Registered: March 2007
Senior Contributor
Hi Mirek,

I have noticed, that Assist autocomplete does not show all methods for e.g. String. If I type "String::" I would expect to see a whole bunch of methods (including e.g. 'StartsWith'), but for some reason I only get about 20 results or so. Is this issue depending on the way String inherits from other classes? Pre-libclang versions of TheIDE returned quite a lot of options for String:: .

Further on, if I may add to the wish list...
typedef struct{
	int a;
	int b;
	union{
		int i;
		dword u;
		float f;
	};
}tt;


In addition to a and b, would it be possible to see also i, u and f in the assist autocomplete listing for the type tt above?

Thanks and best regards,

Tom
Re: New Assist features [message #59077 is a reply to message #59074] Thu, 27 October 2022 12:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Tom1 wrote on Thu, 27 October 2022 11:59
Hi Mirek,

I have noticed, that Assist autocomplete does not show all methods for e.g. String. If I type "String::" I would expect to see a whole bunch of methods (including e.g. 'StartsWith'), but for some reason I only get about 20 results or so. Is this issue depending on the way String inherits from other classes? Pre-libclang versions of TheIDE returned quite a lot of options for String:: .


I am aware that this problem was in Linux before yesterday's fix. Could that be the case?

(It is always helpful to specify OS...)
Re: New Assist features [message #59078 is a reply to message #59077] Thu, 27 October 2022 12:46 Go to previous messageGo to next message
Tom1
Messages: 1216
Registered: March 2007
Senior Contributor
Sorry, stupid of me: Today, I'm on Windows. Just upgraded TheIDE and the problem still persists.

Best regards,

Tom

UPDATE: Just looked on the Linux size, and there assist shows all the bells and whistles for String:: ! So this seems to be on the Windows side only.

[Updated on: Thu, 27 October 2022 13:00]

Report message to a moderator

Re: New Assist features [message #59079 is a reply to message #59078] Thu, 27 October 2022 13:04 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Tom1 wrote on Thu, 27 October 2022 12:46
Sorry, stupid of me: Today, I'm on Windows. Just upgraded TheIDE and the problem still persists.

Best regards,

Tom

UPDATE: Just looked on the Linux size, and there assist shows all the bells and whistles for String:: ! So this seems to be on the Windows side only.


Weird, probably somehow related to something, I just did quick test

#include <Core/Core.h>

using namespace Upp;

CONSOLE_APP_MAIN
{
	String h;
	h.
}


and I can see StartsWith.

That said, I have noticed there are yet problems when build method is MSVC (I have it in my TODO list). Can that be the problem? (if that is the case, test by switching to CLANGx64).

Mirek
Re: New Assist features [message #59080 is a reply to message #59079] Thu, 27 October 2022 13:12 Go to previous messageGo to next message
Tom1
Messages: 1216
Registered: March 2007
Senior Contributor
Now this is interesting!

With CLANG/CLANGx64 and also with MSVS22/MSVS22x64 it works fine! (No need to compile, just switching the build method is enough.) However, with MSBT19/MSBT19x64/MSBT22/MSBT22x64 it fails with only a short list of items.

BR, Tom

UPDATE: To be more accurate, I'm on "Windows 11 Pro, Version 21H2, OS build 22000.1098"

[Updated on: Thu, 27 October 2022 13:15]

Report message to a moderator

Re: New Assist features [message #59081 is a reply to message #59080] Thu, 27 October 2022 13:47 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Tom1 wrote on Thu, 27 October 2022 13:12
Now this is interesting!

With CLANG/CLANGx64 and also with MSVS22/MSVS22x64 it works fine! (No need to compile, just switching the build method is enough.) However, with MSBT19/MSBT19x64/MSBT22/MSBT22x64 it fails with only a short list of items.

BR, Tom

UPDATE: To be more accurate, I'm on "Windows 11 Pro, Version 21H2, OS build 22000.1098"


Fixed, at least for common usage (I am now always using CLANGx64 method for assist).

Mirek
Re: New Assist features [message #59082 is a reply to message #59081] Thu, 27 October 2022 13:59 Go to previous messageGo to next message
Tom1
Messages: 1216
Registered: March 2007
Senior Contributor
Thanks! Smile

BR, Tom
Re: New Assist features [message #59107 is a reply to message #59001] Thu, 03 November 2022 10:29 Go to previous messageGo to next message
Wermann33 is currently offline  Wermann33
Messages: 12
Registered: October 2022
Location: Vienna
Promising Member
Hi!

I realized some weird behavior of the new error-detection, like in this example. In some files errors are detected, that definitly arent.
Another issue is, that a file i see without errors, a collegue of me, has errors shown, while i havent, using CLANG both on Windows.
In all these cases, compilation shows no problem.

[Updated on: Thu, 03 November 2022 10:35]

Report message to a moderator

Re: New Assist features [message #59109 is a reply to message #59107] Thu, 03 November 2022 18:54 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Wermann33,

Could you attached the problematic code with the error. From your screenshot I see that commented include was detected as an error, but nothing more. To fix this issue we need to have broader context.

I know that your code might be secret. If it is, please rework it to not be. We need only reproduction scenario, everything else is not needed.

Klugier


U++ - one framework to rule them all.

[Updated on: Thu, 03 November 2022 18:55]

Report message to a moderator

Previous Topic: U++ Discord Server
Next Topic: 2022(?).2 beta
Goto Forum:
  


Current Time: Sat May 18 17:34:20 CEST 2024

Total time taken to generate the page: 0.02762 seconds