I would like to copy of a HTML file I'm working on. But look:
It's blocked... How is that possible? I checked out other open documents and Save as... option is blocked globally for every open document. Why?
Related
I'm debugging and editing my .ts files on the fly using Chrome devtools (when debugging).
One of the major drawbacks doing so is that in order to reflect changes of .ts files in associated .js files, I must switch back to Visual Studio, click on "yes, reload" and trigger another save of each modified file (in order to rebuild js), and only then i can come back to my page and F5 it.
Is there a way to tell VS (or chrome, btw) to automatically compile TS files when they're saved ?
edit i'm using chrome workspaces to sync files with disk
Is there a way to tell VS (or chrome, btw) to automatically compile TS files when they're saved ?
If you use chrome workspaces, it will load the ts files from disk instead of in memory. That way when you save a file it is saved to disk. This means you can wire up something like https://github.com/TypeStrong/grunt-ts to compile on save to get the new JS which then can be live reloaded
Is it possible to force Firefox not to change the file extension of a file the user downloads? Currently I have the problem that I have a .reg file to download, but Firefox, even though in the Download dialog it says "Text file (*.reg)", saves it as a .reg.txt file, which is highly annoying. How to fix this?
You could try to do the following things:
1.) https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file
Maybe extension (in your case .reg) is associated with Notepad and you could changed it in Options/Applications
a) Click the menu button and choose Options.
b) Select the Applications panel.
c) The Applications panel will display. Select the type of file for which you want to change the default action.
2.) https://bugzilla.mozilla.org/show_bug.cgi?id=511624
This is an old bug, but if you use the affected version of firefox...
When you right click on a link to a batch file and click save as, it will allow you to save it, but it automatically adds .txt to the end of the filename without informing you.
You are unable to save it as .bat
Reproducible: Always
Steps to Reproduce:
1.Right click on a batch file link
2.Click save as
3.Save it
Actual Results:
filename is file.bat.txt
Seems to be a Firefox on Windows bug. My coworker was implementing download of .reg files and I use Firefox, I tested for him and got a .reg.txt. Just renaming it after download was sufficient to make the .reg work, but I got curious if that would happen on Linux also.
Grabbed my laptop where I have Ubuntu installed and the file was downloaded with the correct extension (just didn't run because .reg is a windows extension, it did open in the text editor). It was not automatically renamed as a .txt.
I'm using sass for a project. I keep the CSS file open sometimes, but every time I save the .scss file VS asks me if I want to reload the CSS file, which I do. Is there any way of telling it to always reload the file type without prompting?
In Tools/Options, navigate to Documents and check "Auto-Load changes, if saved."
EDIT: note that this will affect all files; as far as I know it's not possible to enable this selectively. I'm sure an extension could change that!
i have gone through the this post and it says that the files take the automatic behavior of the windows to open the .cs and .sql files.
in my case when i open these files from a folder it opens up correctly in vs and sql server for .cs and .sql respectively.
Can anyone tell me how to open a file in a shelve in any editor other than notepad?
i have also checked the file types tab in folder options.
I believe you are using the VS Shelveset Dialog which is modal - maybe that's the reason "they" designed the View function to spawn a new process of notepad. It's unfortunate because for some file types, the editor is not VS but it will still bring up notepad. This is consistent with all other TFS related operations in VS. with changesets, you can view files in VS or other editor, when you look at any non-modal dialog (history for a single file for example)
So unfortunately without hacking around there's no way to change this behavior.
There must be a way to find out who checked out the file directly in Visual Studio without having to open the VSS client and navigate to the file.
Right?
Add the SourceSafe (Soure Control) toolbar to VS. Select a file in your source tree you want to know who has it checked out and from the toolbar choose the SourceSafe Properties Icon and look at the Check Out Status Tab. :)
When you attempt to check out a file and get the error dialog indicating that the file is already exclusively checked out, if you bring up the output dialog and switch to the source control view you should see a message indicating the user id of the user who has the file checked out.