I broke the order of windows and cannot restore them. How do I put them in the default state at the bottom of the screen?
File -> Reset Layout. Pretty simple))
Related
I have used WebStorm from JetBrains for almost four years now. It's a fantastic IDE for many reasons, but one of the best features is that it saves versions of files outside of version control. So if you accidentally delete files or lose files before they are saved by your version control system, WebStorm has a copy of them and there are visual diff tools to use. This feature has saved me on more than one occasion.
For Visual Studio Code, is there some feature/plugin that will auto-save copies of files as they change? Will Visual Studio Code save the files to some central location, or perhaps in the .vscode folder in the local workspace?
The feature in WebStorm is available from Local History → Show History from a folder or file. Here is an article about it:
Using Local History for code changes tracking
The view looks like:
You can go to menu File and choose Auto Save.
You can enable auto save with these methods:
Check the Auto Save item in the File menu
Go to Settings, search for auto save, and select the auto save option (afterDelay)
Auto save description in Visual Studio Code documentation
Yes, Visual Studio Code can auto-save changes on files as you make changes. It also allows you set a delay for how long to wait before saving the file.
Here's a link that should help you with that.
Or a shortcut you can simply navigate to your Visual Studio Code settings, and add the following to your settings.json file.
{
...
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
...
}
This will instruct your editor to autosave after a 1000 ms delay. You can set the autosave option to onFocusChange to autosave whenever you move your cursor away from the current text area.
There's a package called Local History that can be used to save a backup of your files outside version control.
You should check that out.
As of March 2022 (version 1.66), Visual Studio Code has a built-in feature called Local History that automatically creates commit-like versions of your files on every save.
It is enabled by default, but you can double check the setting workbench.localHistory.enabled to make sure it is enabled in your project.
From the reference:
Each local history entry contains the full contents of the file at the time the entry was created and in certain cases, can provide more semantic information (for example, indicate a refactoring).
From an entry you can:
Compare the changes to the local file or previous entry.
Restore the contents.
Delete or rename the entry.
The saved local versions are accessible from the Timeline section in the File Explorer tab.
Also, ensure you add .history to your .gitignore file, so Visual Studio Code doesn't track every change made to a single file as changes made to multiple files. This can be a problem and make your files changed so large even though it's a single file or a few files you made edits to.
I am trying to install MongoDB compass, however, my screen is getting stuck at initializing screen. Please help me as I really need help here. Here are the entire details: -
OS - Windows 8.1 64bit
Powershell version - 4.0 (I also tried to change the execution policy remote assigned. but that also didn't help)
MongoDB server version - 4.2.0 stable (tried MSI version)
MongoDB compass version - tried both (1.23beta version and 1.22 stable version)
I have also tried to install and uninstall multiple times.
Could anyone please help me? Any help will be highly appreciated.
Thanks in advance.
Have you tried adding this path C:\Windows\System32\wbem to your user Path variable?
I also had the same problem on Windows 10 and this has resolved my issue.
I found the fix there: https://dev.to/debugagrawal/fix-mongo-db-compass-initializing-screen-error-131e
Step by step instruction for less experienced Windows users:
Kill all running Compass instances using Task Manager (i.e. Ctrl + Shift + Esc, then find running instances, if any, and kill them with right click and End task)
Right click on This PC and then Properties
You should be in Control Panel\All Control Panel Items\System
Click Advanced system settings link on left pane
On System Properties window go to Advanced tab
Click on Environmental Variables button closer to bottom of the page
Select Path in top list window (User variables)
Click Edit button located below that list window
Click New button to create new entry on the list
Paste C:\Windows\System32\wbem and click OK.
Another OK on Environmental Variables window
And another OK in System Properties window
Now you can try to run MongoDB Compass application again.
Hey thanks for the blog mention 😄, hope it worked. I faced the same issue while use MongoGUI so I figured out the way to fix it with help of environment variables.
To know more about environment variables you can read this blog, I referred to this to get more clarity on such kind of issues
https://www.digitalcitizen.life/simple-questions-what-are-environment-variables/
To the best of my knowledge, I'm correctly importing my MS-SQL data source in the Control Panel (It says successful in green). I'm also pretty sure I'm importing the data correctly into the Windows 7 Publisher app since I can view the data in the DataView:
but when I go to the Layout View or Run Preview, I just get a blank chart:
It works if I use the default SimulatedTable but once I change the data source to my MS-SQL table, I can't get anything to display, no matter what display element I'm trying to use.
I've tried re-importing the data, using a different MS-SQL table, and re-naming the columns to match the SimulatedTable but it doesn't change the result. Can anyone tell me what I'm doing wrong?
Please try one thing, I am just guessing it might work.
Please select one of the Time Preset buttons and see if you see data in that(where there is blank) chart object.
If yes, then while setting up the time navigator object, select an option in drop down box labeled "Default Time Range Preset"
There are some hacks, please do let me know if run into some weirdness. It might not make sense if i try to explain unless you run into that situation.
Cheers,
I ended up giving up on the Windows 7 version of the application and running a virtual instance of Windows 8.1 instead so I could install the Datazen Publisher app for Windows 8.1. It's FAR less buggy.
Not perfect, though.
when i installing drupal 7 ".ht.sqlite" its create a file like this so if i want to move the site ,how can i import the database
Not sure if I get the question. If you have a file like that, it means that you have chosen sqlite as the database backend. This means that this file is the database.
If you want to move your site around, just move that file too. You can also move it to a different place, you just need to update the path to it in your sites/default/settings.php file.
Am I the only person annoyed by this? I don't even know what proc I'm clicking on if the file names have the same prefix, or are longer than the context window width.
I find the tab dropdown, as well as the tab names themselves, annoying. You can't widen either of them.
It helps to save each script to a file, even if only temporarily. I work in an environment where I need to save each script I write. I can see the file names if I hover over each tab. Not perfect, but it helps.
If you're running SSMS 2008 (or even just SSMS Express 2008), you can change certain property settings so that only certain things are shown in each tab: the current server, the current database, the filename, etc. If you only work in a single database, for instance, you could switch off everything except the filename.
But unless any of these suggestions help, there's really no way around those stupid tabs.
connect is garbage, they dont do anything
There isn't a way to make it any bigger.
I find this greatly annoying as well. There are a couple of connect items open about this.