VS Code Author and File Information - visual-studio-code

For every single file I save, VS code shows this information
When I save a file with VS code, the and file author information suddenly shows on top. I have tried but I cannot disable it.
Can I get a helping hand on how to get rid of it.
enter image description here

Related

WOPI corrupting files on edit

I have a WOPI host running in a Blazor server application with all of the .wopitest tests passing for the desired functionality (others skipped).
When I upload a word document, I am able to view the document with no issues. I am also able to edit the document, however when I try and edit the document a second time, I get an error.
The error doesn't appear to be handled and seems to originate in the Office online javascript file.
Error on attempting second edit
Following the error, I am still able to open the document for viewing. It is the same behaviour if I use the 'Editing' button in the Office Online page or directly navigate to the editing page using an edit action url.
Supplementary information:
Using ngrok to debug locally
.NET 6
Using SQLite database for holding file information (including path to file)
Using local folders for storing file contents (e.g. 'data' folder containing all files)
Similar issues with .xslx files beign corrupted upon editing and requiring a 'repair' when opened with Excel. This repair removes cells containing text and indicates that it removes the theme.
Viewing a word document gives the following console errors View document error
The first editing of a word document gives the following console errors Edit document error
I was expecting to be able to repeatedly edit the document.
I tried opening the file in the Desktop version of Word and got the following error Desktop Word recover
Following a recover, the document appears to work as expected in Word (desktop) but still won't open for editing through WOPI.
Turns out it was the way the POST http request body was being saved.
Still not certain what was going wrong but somewhere along the way of writing the stream into a buffer and then saving that to a file corrupted the file.
I suspect the file stream was either truncating or adding a few bytes.
The interesting part being that Office Online was still able to view the file.
This indicates there is some tolerance for malformed files still being served.

VSCode Jupyter Notebook, how to change presentation/add mimetypes (changing the notebook output renderer options)

I've referenced this question: Change mimetype for VSC Jupyter Notebook ouput
And thoroughly googled, but I still can't seem to change the mime type of my Jupyter Notebook. I have 2 .jpnyb files opened, one has the option of mimetypes of text/html, text/plain and the other gives a weird one of application/vnd.somemorewords
Here is a picture of what the difference between the two look like within the command palette when attempting to change the presentation. First file: https://ibb.co/yBkmVdz Second file: https://ibb.co/vhcz866
Where is the first file grabbing the mimetypes from? I can't find any information on a location of a file (settings.json has been edited) that just sets the standard across the board for the entire VS Code app. Please help if you can!
I've done a search of package.json files on my computer and looked at over 50+ files for some sort of information of the notebook display order and renderer.
I also tried changing the User settings for the work space referencing the question that I linked above.

VSCODE : Don't save if the file has any error

So I got one thing in mind while working on VSCode. While I am using the auto save afterDelay and I am working on something and the file has some error and I rest a second the file gets saved. What I want is I dont want VSCode to save the file if the file contains any error. Like maybe a syntax error on javascript or python.

how to access the text of vscode breadcrumb from extension

I am trying to write an extension to copy the text / path shown in vscode breadcrumb (marked in blue in picture). But I am unable to find any vscode api to read that. Any help with that?
I am guessing that you have problem getting the JSON property key path from root to your desired property key, I have recently run into this problem as well with my translations JSON files.
I wrote my own extension for vs code to get the path from root the child. Please give it a try and let me know if it solved your problem.
Click here! check it out and download.
P.S: I didn't publish this in market place yet, since I have test runs to do. But this is a completely functional version.

{Netbeans}The form file does not contain valid XML.Form cannot be opened.Contents is not allowed in prolog

I was recently working on a really huge project in netbeans. I saved it in my desktop, and then proceeded to save it also in my USB. However, the next day, when I learned it could be for a later date, I deleted the one in my USB.When I put on the one in my desktop, all the work I had done was not saved on it, including the making of new JFrames etc. So I used a program to recover my deleted files. I now have loaded them into the netbeans IDE< however, there is an error sign next to most of them. When I click on a class inside my project with the error,an error message comes up before I can access it. It says "The form file does not contain valid XML.Form cannot be opened.Contents is not allowed in prolog." When I press "OK", my class has "coding" which looks like:
W�'6��G��ԧ��(g&�Cd�nw|7�\ej��
�;���كG�s=�Bl+��6�r�#ma���'�f�T�9Kx�q�M�G�t�q� �:���� \!�%İ��P�&!�[�R���`�,+��U���"���Ј���yF&mÛ�
�
Y ?/,8��#�t:�ԇ
��lOѪ|T�^?v"
....that.
And when I go to "design view" that message comes up again. What should I do? What CAN I do? I really need the bulk of my project to finish it in time!!!Oh, the project is for tommorow, so the quicker answer the better :'(
right click on the latest file from History ->revert (the .form)
Go to the history of the file and copy the content of .form file then go to directory and open the 0byte file .form by the editor and paste the content! I have done this and it worked for me.