-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for context menus and localization #4
base: master
Are you sure you want to change the base?
Conversation
Apologies @InDIOS, I've been away on holiday. Please give me a few days to catch up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Support for Localization is a good idea, but may need to be submitted as a separate pull request. Please await the outcome of pull request #5.
@@ -1,5 +1,7 @@ | |||
'use strict'; | |||
|
|||
var fs = require('fs'); | |||
var path = require('path'); | |||
var vscode = require('vscode'); | |||
var fileService = require('./libs/fileService'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to use the existing fileService or modify it if necessary, rather then rewrite a lot of its functionality. The 'Open File...' context menu should just add the option of the UI passing a file location to the fileService to open, in addition to the existing default behaviour of passing the current active document file location to the fileService to open activated by Command/CTRL+ALT+O.
There is another pull request #5 with similar functionality. You may wish to wait for the outcome of that to avoid duplicating efforts.
This reverts commit 686e685.
I added some localization messages, please review that are correct.