gustavoasc / google-drive-vscode Goto Github PK
View Code? Open in Web Editor NEWExtension to integrate VSCode with Google Drive™
Home Page: https://marketplace.visualstudio.com/items?itemName=GustavoASC.google-drive-vscode
License: MIT License
Extension to integrate VSCode with Google Drive™
Home Page: https://marketplace.visualstudio.com/items?itemName=GustavoASC.google-drive-vscode
License: MIT License
i did the following steps and ifaced following error:"Cannot destructure property 'client_secret' of 'credentials.installed' as it is undefined." so i tried doing the steps from first but i couldnt change my credentials json file to the fresh one i installed now.
Describe the bug
The first option for uploading a file, that is selecting a specific file on workspace/folder in the explorer view, cannot find file.
To Reproduce
As shown in the README
Expected behavior
File uploaded, and a notification of such.
Screenshots
Error shown appears no matter what sort of file is tested, or where it is in the client computer:
Please complete the following information:
Additional context
Other 2 methods appear to work fine.
Hello,
When Trying to configure the extension, I get an error after using the Configure credential command in command palette.
VSCode says " command 'google.drive.configureCredentials' not found ".
I can't (or do not know how to) select the path before executing the command.
Do you happen to know what could be wrong ?
I'm on Linux Ubuntu.
Thanks
I couldn't figure out how to reload an API credential JSON file and reset the read/write permission. Could you let me know how to do that? Thanks
Incredibly extension. But I found it cannot upload multi-files & folders now, hope to add these features, thanks.
Add multi-file & folder upload support
Create an extension notification to tell user that the port is occupied by another process.
This notification should indicate that the extension can set another authentication port.
I think that we can detect from error message if the port is busy, so in this case we can submit this notification to user set another port to authenticate with Google Drive.
May you kindly publish your extension to open-vsx.org, https://github.com/open-vsx/publish-extensions
Describe the bug
Can't login to Drive, no where to paste the auth token
To Reproduce
Steps to reproduce the behavior:
Following the installation instructions and providing credentials.json, I was redirected to a page to give access to the App and then an auth token that I should paste into app, another pop up in the app says so too
Please complete the following information:
Additional context
Add any other context about the problem here.
Google has updated the content of this link that is referred by this extension on the README.
Nowadays, there is no button called Enable the Drive API.
Update the README with new steps to configure credentials.
Describe the bug
According to Google Developer's blog, OAuth out-of-band (oob) is getting deprecated:
Feb 28, 2022 - new OAuth usage will be blocked for the OOB flow
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The auth should complete.
Please complete the following information:
I'm an Android developer and sometime need to upload my apk to google drive, but it's time consuming to open google drive and share it manually. Before i use windows and install ShareX
just right click -> upload. The file will uploaded and when it finished it will copy the link to the clipboard. But in mac i didn't found app like thta
It's be better if in future those feature will be added
Describe the bug
I have setup OAuth credentials using full access. However, for some reason, when I open a Google Colab notebook from a drive folder with VSCode, it is read-only. I cannot even view the code cells.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should be able to view the code cells and edit / run the notebook
Screenshots
Attaching screenshots
Please complete the following information:
Additional context
Add any other context about the problem here.
Performance
google-drive-vscode
1.1.1
Windows_NT x64 10.0.19042
1.53.2
c:\Users\Jessi\AppData\Local\Temp\GustavoASC.google-drive-vscode-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
hey,
this extension looks really nice, thanks for putting the work into it! unfortunately it doesn't find any of my files when i set up credentials. ideally i would like to see both my drive files and shared drives (if possible on the extension). i can view all of this in python using the same credentials using googleapiclient
.
i'm about to look around in the source for this extension when i have time, but just wondering if this is a common issue?
thanks,
steven
The extension currently uses drive.file scope, so it can only access files and folders uploaded to Google Drive through this extension itself. Some people are willing to manage other files through this extension but it's not currently possible.
The files manually uploaded to Google Drive through the Drive website, for example, do not appear on this extension.
Use Google Picker API, so we can provide access to specific files which have been manually uploaded through Drive website or uploaded through other applications;
Google Picker API would show a dialog like the one below, so after selecting files/folders with Google Picker API, they would appear on the extension Tree View (at least I believe this would be the behavior of Picker API).
Is your feature request related to a problem? Please describe.
When one tries to upload a file which already exists on Google Drive, a new file is created with the exact same name on Google Drive. It does not make much sense to have multiple files with the same name.
Describe the solution you'd like
When the file already exists on Google Drive the file should be overwritten.
Pull Requests are accepted for this 😃
Describe the bug
If I wanna open a file, for example a .docs:
I experience this issue:
(Ethereum is just the .docs which I try to open)
Expected behavior
The file opens in VSC
Please complete the following information:
Additional context
VSC has full access (the three checkboxes were checked)
Bug
google-drive-vscode
1.3.4
Windows_NT x64 10.0.19044
1.71.0
Using MACos Latest version of vscode.
Unable to open '2019-02-23-Meeting with the President.gdoc': Unable to read file '/Volumes/GoogleDrive/My Drive/mydata/The Fairways/jims-Community-Fairways/2019-02-23-Meeting with the President.gdoc' (Unknown (FileSystemError): Error: ENOTSUP: operation not supported on socket, open '/Volumes/GoogleDrive/My Drive/mydata/The Fairways/jims-Community-Fairways/2019-02-23-Meeting with the President.gdoc').
In order to use the extension, user needs to download a credentials.json file configured for Desktop app on Google Console.
Here are the suggested steps to download the credentials:
Sometimes people download a wrong credentials file or select Web App instead of Desktop app.
It causes unexpected behavior on the extension, which throws errors like "Cannot destructure property 'client_secret' of 'credentials.installed' while running the command Google Drive: Configure credentials.
This issue is meant to show a proper notification when the incorrect credentials.json file is used, instead of throwing errors related to "undefined" objects.
Pull Requests are welcome 😃
Hello Gustavo and thank you for your amazing VS extension !
I would like to have access to a Shared Drive with your Extension. It would allow different persons of my teams to modify files and folders in the same place...
Maybe it could be interesting to add a command >Google Drive : Access to Google Drive Shared by id, which will require the id of the shared drive. Then it will display it on the outliner. What do you think ?
Best regards,
Kevin
I have just installed the Extension but although it says that it is globally enabled underneath the installation button it doesn't respond to any commands like Google Drive: Configure credentials.
And in the runtime tab I get the Information "not activated yet".
Can anyone help with that?
Hello,
I have installed the Google-Drive extension, and I believe I have created the credentials.json file.
When I run Google Drive: Create credentials, a window opens I select the credentials.json file but nothing seems to happen.
I try to display files on my google drive, and keep getting the "credentials need to be configured" error.
Thoughts?
Tom
Performance
google-drive-vscode
1.2.1
Linux x64 5.8.0-53-generic
1.56.2
/tmp/GustavoASC.google-drive-vscode-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
I just realized you can't even edit files with this extension. I might look for another extension, sorry.
So I want to be able to see files that I am an editor on, and also be able to edit them.
is posible add command to Upload on Save to desired/selectable/default directory?
Example:
If we could port this extension into the (browser app) the possibilities would be endless!
VSCode supplies this page regarding web extensions. I'll be looking into it when I've got a chance.
Performance
google-drive-vscode
1.2.0
Windows_NT x64 10.0.19042
1.54.2
c:\Users\neils\AppData\Local\Temp\GustavoASC.google-drive-vscode-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
When the port 3000 is already in use on the computer, the following notification is presented:
HTTP server http://127.0.0.1:3000/: Error: listen EADDRINUSE: address already in use :::3000
It is not user-friendly.
Show a proper message asking to configure a different port with the new google.drive.authPort setting.
Everything works fine when I set it up with my local machine, but when I SSH into my Google Colab GPU it almost works, but then after I select my Google Account to sign in and give it permissions, I get this error:
Firefox can’t establish a connection to the server at 127.0.0.1:3000.
I am on Ubuntu 20.04, and using the 'Remote - SSH' extension to connect to my Colab runtime. I have to reinstall the 'Google Drive' Extension in the SSH window because it says:
This extension is disabled in this workspace because it is defined to run in the Remote Extension Host. Please install the extension in 'SSH: installing-hybrid-cleaning-roommate.trycloudflare.com' to enable.
Is this something that other people have done?
Is there a way to change the default server running port? Because I don't have the permission to either check or kill the program running on port 3000. Thanks.
I put in the wrong api key for my google drive and cannot figure out where i can switch it on the extension.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.