Indent by File in XIDE

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
Irwin
Posts: 81
Joined: Wed Mar 23, 2022 10:24 am
Location: España

Indent by File in XIDE

Post by Irwin »

Hi Chris,

In the menu Edit->Indent Code there are two options: File and Entity. Entity is labeled with the Ctrl + Shift + I shortcut but File does not have it. I also looked into the xide-shortcut.pdf file and it does not appear either.

Image
User avatar
Chris
Posts: 4978
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Indent by File in XIDE

Post by Chris »

Hi Iwrin,

Indeed this is missing, I will add CTRL+ALT+SHIFT+I for it, or is it too much?
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Irwin
Posts: 81
Joined: Wed Mar 23, 2022 10:24 am
Location: España

Re: Indent by File in XIDE

Post by Irwin »

Chris wrote: Fri Nov 22, 2024 10:15 am Hi Iwrin,

Indeed this is missing, I will add CTRL+ALT+SHIFT+I for it, or is it too much?
It is too much :D CTRL + I is not use either, you can use CTRL + I for File and CTRL + SHIFT + I for Entity.
User avatar
Chris
Posts: 4978
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Indent by File in XIDE

Post by Chris »

hI iRWIN,
Irwin wrote: Fri Nov 22, 2024 10:21 am
Chris wrote: Fri Nov 22, 2024 10:15 am Hi Iwrin,

Indeed this is missing, I will add CTRL+ALT+SHIFT+I for it, or is it too much?
It is too much :D CTRL + I is not use either, you can use CTRL + I for File and CTRL + SHIFT + I for Entity.
That's used for "Token Info", put the cursor on a local, type, method etc and press CTRL+I, this will give you information about it.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Irwin
Posts: 81
Joined: Wed Mar 23, 2022 10:24 am
Location: España

Re: Indent by File in XIDE

Post by Irwin »

Chris wrote: Fri Nov 22, 2024 10:32 am hI iRWIN,
Irwin wrote: Fri Nov 22, 2024 10:21 am
Chris wrote: Fri Nov 22, 2024 10:15 am Hi Iwrin,

Indeed this is missing, I will add CTRL+ALT+SHIFT+I for it, or is it too much?
It is too much :D CTRL + I is not use either, you can use CTRL + I for File and CTRL + SHIFT + I for Entity.
That's used for "Token Info", put the cursor on a local, type, method etc and press CTRL+I, this will give you information about it.
You're right although is not documented in the PDF :D
User avatar
Chris
Posts: 4978
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Indent by File in XIDE

Post by Chris »

Irwin wrote: Fri Nov 22, 2024 11:09 am
Chris wrote: Fri Nov 22, 2024 10:32 am hI iRWIN,
Irwin wrote: Fri Nov 22, 2024 10:21 am

It is too much :D CTRL + I is not use either, you can use CTRL + I for File and CTRL + SHIFT + I for Entity.
That's used for "Token Info", put the cursor on a local, type, method etc and press CTRL+I, this will give you information about it.
You're right although is not documented in the PDF :D
It's in the Shortcuts topic in the XIDE help file :)
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Irwin
Posts: 81
Joined: Wed Mar 23, 2022 10:24 am
Location: España

Re: Indent by File in XIDE

Post by Irwin »

Chris wrote: Fri Nov 22, 2024 11:25 am
Irwin wrote: Fri Nov 22, 2024 11:09 am
Chris wrote: Fri Nov 22, 2024 10:32 am hI iRWIN,



That's used for "Token Info", put the cursor on a local, type, method etc and press CTRL+I, this will give you information about it.
You're right although is not documented in the PDF :D
It's in the Shortcuts topic in the XIDE help file :)
My fault! sorry. I printed the shortcut list to PDF by using the Print button from the XIDE Help but there's must be something wrong with my Microsoft PDF Printer because it chopped the Editor shortcut section. The following image shows the XIDE Help in the left hand side and the PDF document in the right hand side. :|

Image
User avatar
Chris
Posts: 4978
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Indent by File in XIDE

Post by Chris »

Hi Iriwn,

Ah, that's the .pdf that you were referring to! Yeah, probably some incompatibility, some malicious people might say MS is not very famous for writing robust/well working software, so might be better to use well known 3rd party products for pdf printers instead :)

I'm now trying to add as many of the shortcuts as possible also as commands in the main XIDE main menu, so there are easier to find (I know, it would had been even better to allow re-mapping of shortcuts...). CTRL+I can be found as Edit->AmdiSense->View Token Info.

("IntelliSense" is a copyrighted trademark of MS, so I used "AmdiSense" instead for XIDE :))
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Irwin
Posts: 81
Joined: Wed Mar 23, 2022 10:24 am
Location: España

Re: Indent by File in XIDE

Post by Irwin »

Thank you Chris, I will be waiting for the next version of XIDE :P
Post Reply