Forum Replies Created
-
AuthorPosts
-
jonaSpectator
I opened a ticket and sent two files. Didn’t get a confirmation yet but .. I will check here as well in case you did not get them. Thanks again!
jonaSpectatorOk.. so.. The problem has returned on one file. Something is in this file that messes with the outlining and code folding. If I copy the contents into notepad and delete everything in the C file, Then.. copy the text from notepad back into the file, usually from the bottom up, in 2 parts, I can get code folding to work again, but only until I add more code. Usually breaks when I add a function or a region. Sometimes it breaks when I am modifying existing code. I have tried to narrow it down to a specific line of text but I am unable to.
Is there something in the formatter that could cause this?
I also found that if you put comments on the line where a function is being defined, it will break outlining:
static void func() //comment..
I don’t have any idea how this could happen but I am wondering if anyone knows what could cause this? Any help , or hints, greatly appreciated.
jonaSpectatorI took the source files that were failing, copied the text to an empty notepad and imported the text back into a new empty .c file, a piece at a time. Now, I have the outlining back. I wonder what could have been in those files that prevented outlining.
jonaSpectatorre: Symptoms: All I can say is that there are no [+] or [-] icons anywhere in the entire file. Sometimes they show up on switch statements if they are at the top of the file. But they eventually disappear.
If there are links to solutions, all five if necessary, I would like to see them.
thank you.
jonaSpectatorThanks! yeah. I kinda thought we had a communication problem here. That was 8 days of patiently going back and forth here. I really just don’t have time to muck around with this. I have to get these jobs completed. I wish it just plain worked. If I get time to debug this I will.
I am working in C with VS2017 and STM32F7 Discovery board.
I usually start the project by right clicking on the VS icon and selected the project from the list.
I write a LOT of C# /WPF code and usually when code folding fails I restart VS and reload the files. Can’t get that to work here.
jonaSpectatorI’m just joking with you.
It has been working since I started with VGDB almost a year ago. I have a ton of regions that I was regularly using to make it easier to get around my code. They no longer fold. Nothing folds. If you say it isn’t supported, I am ok with that. There are no specific steps , except upgrading VGDB and I am not asking for help determining the solution if you say it isn’t supported.
Any plans to get that working? Sure is handy!
- This reply was modified 5 years, 8 months ago by jona.
jonaSpectatorGet it working for me by next week. 🙂
jonaSpectatorShould regions also not be collapsible?
jonaSpectatorCode folding had been working as well as it ever has since I started last year with VGDB. I just naturally thought it was supported by VS’s editors. It pops on and off at times .
Not sure what other info I could provide here.
Least of my problems working in this environment though. I absolutely HATE ST-Link though! 🙂
jonaSpectatorI don’t understand.. it usually works! I’ve been using it for months. Is that just by chance?
jonaSpectatorThank you once again sysprogs. Stellar support and response.
jonaSpectatorThat makes sense. That is how it resolved here.. pretty much.
jonaSpectatorThank you very much. For the moment, it is showing up. I have to get these projects out so I’m going to go with it the way it is for a bit.
jonaSpectatoroops.. sorry.. zip attached.
Attachments:
You must be logged in to view attached files.jonaSpectatorProject File Attached.
-
AuthorPosts