Is it possible to open .dmp Files in VSCode.dev - visual-studio-code

If I open my .dmp File locally, it opens with VS2013 and shows everything correctly. When I now try to open the .dmp File in https://vscode.dev/ it tells me that it can't open binary and basically gives me the same as when I would open the .dmp with Notepad++.
Is there a way to use VSCode.dev to open and read .dmp Files easily?

Related

how to download file inside vscode terminal from remote server?

I want something like
code --download_file [path_to_file]
to download file from remote server to my local computer (instead of manual select file in file explorer because sometimes the file is not in currently open project)
Use curl. It's a "command line tool and library for transferring data with URLs"
This tutorial might help

How to let VS Code open file using the default program of the operating system?

I am using the latest VS Code to write python Qt code (under Ubuntu 20.04). One obstacle is that VS code does not recognize known file types such as .ui files, and opens it as raw text or xml file.
By comparison, other editors such as eclipse opens the .ui file with its OS default program -- Qt Designer. With VS Code, I had to open a file manager and then find and double-click the file to open it the right way (the same as opening the file using xdg-open in terminal), which is quite inefficient.
Does anyone know of a way to configure VS code to open a known file directly using its OS default program?
There are two extensions that I know of that tackle this problem (no affiliation):
Open in External App
... with this extension, you can do it more simply. Just right click to the file, and select Open in External App, that file would be opened by system default application. You can also use this way to open .psd files with photoshop, .html files with browser, and so on...
The configuration implies that you need to manually set which app to use for which extension, so it doesn't simply use the default configured in your OS (at least not in my brief test).
Open
Opens files using the OS's default program for the file type
This does what it says out of the box, but the keyboard shortcut seems to fail. The command can only be triggered via the right-click menu of the file in the vscode file browser.

Can't save the file as an ipynb file from jupyterlab

I need to download an ipynb file from jupyter-lab on my Mac. For some reason there is no download option in file part. Is there any other way to save my Jupyter file on my desktop to be able to load the file to my Github?
thank you so much,
To download a file from JupyterLab use the file browser:
open context menu on the file of choice, and
select "Download":
This is also documented in the official documentation Working with Files chapter, which even includes this video deomnstartion: https://www.youtube.com/watch?v=Wl7Ozl6rMcc

How to open xml files using command line for Mac OS?

I have a test_12_22.xml file. I want to see the contents of the file. How can I achieve this using command line in MAC OS Catalina.
I tried open test_12_22.xml, but it opened a Word Document with junk information.
I think you could do that with the following command
open test_12_22.xml -a TextEdit
This will open your XML file with TextEdit, which should be able to read it.

How to open a file in the current open Eclipse workspace from command line?

I have Eclipse already running, and I want to be able to open a file and jump to a line number from CLI.
I want the file to open in the current open workspace. I am trying this:
/Applications/Eclipse.app/Contents/MacOS/eclipse --launcher.openFile test_file.c:401
However, I am getting an error because the default workspace is already open, and its asking me to choose another workspace.
if I simply use open text_file.c it works just fine, but doesn't jump to the line number of course.
Edit: Even after starting in a new session, and removing the line number, Eclipse doesn't open the file. It only opens the application (Eclipse).
however if I use open -a eclipse filename the file opens successfully
Thanks to Lili for the correction:
Opening a file in the same workspace via command line does not work on mac, bug1
Opening a file/linenumber in eclipse is not supported