|
-
Feb 21st, 2025, 03:51 AM
#1
[RESOLVED] Use highlight vb.NET to show code in Visual Basic .NET forum.
Hi,
I've just installed VS2019 in a new Win.11 laptop, in the Visual Basic .NET forum I can no longer find how to select Highlight rather than just CODE as I could in my Win.10 laptop.
Poppa
Along with the sunshine there has to be a little rain sometime.
-
Feb 21st, 2025, 05:23 AM
#2
Re: Use highlight vb.NET to show code in Visual Basic .NET forum.
You can select it the same way as always but it doesn't do anything useful anymore. I believe that it used a custom script that broke and had to be fixed every time the forum software was upgraded. Some time back, they just stopped fixing it. Not sure whether it was because one particular upgrade made it more difficult to fix or they just decided that it wasn't worth the hassle anymore. All posts that use that tag no longer display syntax colouring like they used to.
-
Feb 21st, 2025, 06:00 PM
#3
Re: Use highlight vb.NET to show code in Visual Basic .NET forum.
Oh...
'The same way as always' doesn't exist on my version of VS2019 which was installed this year from the Microsoft website.
So I guess we can't display line numbered code any more ?
Along with the sunshine there has to be a little rain sometime.
-
Feb 21st, 2025, 11:27 PM
#4
Re: Use highlight vb.NET to show code in Visual Basic .NET forum.
 Originally Posted by Poppa Mintin
'The same way as always' doesn't exist on my version of VS2019 which was installed this year from the Microsoft website.
It's got nothing to do with VS or VB. It's a feature of this forum... or it was, at least. The same way as always is clicking the VB (looks like VE) button on the editor toolbar, which tells you that it will add a HIGHLIGHT tag if you hover over it. As I said, selecting VB.NET as the option used to invoke a custom script to add line numbers and syntax highlighting but that script no longer works. Are you talking about something different?
-
Feb 22nd, 2025, 03:33 AM
#5
Re: Use highlight vb.NET to show code in Visual Basic .NET forum.
Wi-fi went down for five minutes, so I had to talk to my family....They seem like nice people.
-
Feb 22nd, 2025, 03:36 AM
#6
Re: Use highlight vb.NET to show code in Visual Basic .NET forum.
test number 2
Is this the "highlight" you're talking about?
-
Feb 22nd, 2025, 05:09 AM
#7
Re: Use highlight vb.NET to show code in Visual Basic .NET forum.
Oh !
I'd swear that wasn't there when I started this thread, I passed the cursor over every button and never found highlight, it's there now though. My memory's not too good these days, but I'm sure that previously there were more buttons on that top row than there are now.
Thanks John
Poppa
PS
Ah... I just clicked 'Go advanced' to check my typing and all the stuff which used to be there has appeared. In three rows now.
Pop
Along with the sunshine there has to be a little rain sometime.
-
Feb 22nd, 2025, 05:12 AM
#8
Re: Use highlight vb.NET to show code in Visual Basic .NET forum.
 Originally Posted by Steve R Jones
test number 2
Is this the "highlight" you're talking about?
No Steve, it was a matter of not being able to display coding with line numbers.
Thanks anyway.
Along with the sunshine there has to be a little rain sometime.
-
Feb 22nd, 2025, 05:49 AM
#9
Re: [RESOLVED] Use highlight vb.NET to show code in Visual Basic .NET forum.
I haven't used them but there are VS extensions that will let you copy code with line numbers and copy as HTML with syntax highlighting. Not sure if there's a single extension that will let you do both at the same time.
https://marketplace.visualstudio.com...rtBy=Relevance
Actually, the line number extension I saw may have been for VS Code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|