how does vscode file explorer copy/paste work? - vscode-extensions

in vscode file explorer you can right click a file and choose the copy option. Then right click on a folder to paste the file into that folder. How does that process work? It does not appear to copy the file to the clipboard.
I want to click the path of a file in an .html file and have an extension do the equivalent of the file explorer copy option. Then click on paste to copy the file to the destination folder.
How would an extension copy a file or folder to vscode file explorer?

Related

SetPreference in Edge for change directory download

I need to change the directory where I'll save a file coming from the download after clicking a link. I was able to find and click on the link, but I need to set the location and name of the file.
I'm using VBA

Do I have to move my Dropbox folder to work with JupyterLab?

The File menu in JupyterLab has few options for saving and opening files. The menu items do let one browse the file system and search for a directory. For example, the File->Open from Path... menu item only allows entering a file on a path relative to /jlab/root. Questions:
What is the location of /jlab/root. Is there a command that shows it?
I like to keep files with code in a subfolder of my Dropbox folder. What do I do if my Dropbox folder is not a subfolder of /jlab/root?

Open file with registered filetype in a different editor

I have a project with *.ts files.
In one folder these files are TypeScript files.
In another folder it's TypoScript files.
The filetype *.ts is registered to the TypeScript Editor.
Is it possible to open a *ts file and force it to a different editor? In this case it would be the TypoScript Editor.
The only workaround i see is to rename the TypoScript files to *.tsc or *.t3s.
TypeScript files with the *.ats file ending will not be compiled from the internal TypeScript compiler.
I am using intelliJ 15.
You can do it by right click on folder or file by using 'External Tools'
In setting search for External Tools.
then add the editor or application you want open file by adding the location of application or editor
This picture shows how to add applications
Then right-click on any file or folder select External Tools then your application

Uploaded files are hidden in pentaho

I uploaded a zip file to the Pentaho public folder. But only the folder structure is shown, all files are hidden and the folder is stated as empty
Go to the "Browse Files" in Pentaho. Then on the menu, click 'view > show hidden files'

Opening HTML document from Solution Explorer

I am trying to run an HTML file that I have imported into the Solution Explorer. I don't know how to refer to documents in the Solution Explorer in code. How can I do that?
I am currently using this code, but it doesn't work:
process.start(".\help.html")
You need to set the HTML file to be copied to the output directory. Right-click on your file in the Solution Explorer:
Set the "Copy to Output Directory" property to "Copy if newer":
And finally, just run the file as usual:
Process.Start("help.html")