chrishasz / spgo

SPGo: A Lightweight, Open Source, SharePoint IDE for Visual Studio Code
https://www.chrishasz.com/spgo
MIT License
60 stars 11 forks source link

Get server version automatically #99

Closed mesh7s closed 5 years ago

mesh7s commented 5 years ago

Hello,

Is there a way to get server version to automatically overwrite the local?

mlung1 commented 5 years ago

This function is needed for sure. I see that it can compare my local to the server version, but how do you just tell it to bring down that specific server version to work from?

chrishasz commented 5 years ago

All- I like this idea. Right now you can use the retrieveFolder command with the full path of the file, but that is not a great user experience.

I plan to release an update this week with a new command to Get Server Version with a shortcut of alt+shift+g

mesh7s commented 5 years ago

That’s wonderful news, an awesome addition also would be to have a flag for a checked out file, just like the “check” mark in the SP Designer.

mlung1 commented 5 years ago

Love it! Like the status indicator idea as well if it's possible with VS Code.

On Tue, Oct 8, 2019 at 11:21 AM Meshal notifications@github.com wrote:

That’s wonderful news, an awesome addition also would be to have a flag for a checked out file, just like the “check” mark in the SP Designer.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/chrishasz/spgo/issues/99?email_source=notifications&email_token=AAIJLFE52TFGHVKF6H7WYU3QNSQRJA5CNFSM4I4TMIE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAURZ4Q#issuecomment-539565298, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIJLFAWNRRZBNJKIM244ILQNSQRJANCNFSM4I4TMIEQ .

chrishasz commented 5 years ago

I have just published SPGo 1.4.4 to the VSCode Marketplace which supports getting the server version of both files and entire folders.

chrishasz commented 5 years ago

@mlung1 @mesh7s

This feature is a common request, and something I would like to implement. VSCode does not support this exact functionality - the limitation is changing the file icon dynamically for each file.

That said, my current thinking is that I could add a new menu to the left nav where I could display a list of all files that are checked out to you, similar to the current github integration. As a bonus, creating a full panel for interracting with SharePoint would allow for editing of other information such as web properties.