-
Notifications
You must be signed in to change notification settings - Fork 23
[IMP] handle untitled python files #440
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
base: alpha
Are you sure you want to change the base?
Conversation
|
|
3bef047 to
caed508
Compare
caed508 to
b39ccdf
Compare
2797f48 to
f341e78
Compare
| } | ||
|
|
||
| pub fn is_valid_for(&self, path: &PathBuf) -> bool { | ||
| if self.typ == EntryPointType::UNTITLED { |
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.
why is_valid_for is not usable for untitled entry point?
fda-odoo
left a comment
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.
There is a lot of duplicated code, or at least redundant ones.
Why double most of the route as "update_file_cache" and "update_untitled_file_cache"?
I would expect the actual update_file_cache to handle untitled files.
Maybe we should include scheme in path? Moreover it would let space for new schemes in the future
f341e78 to
1c533e4
Compare
1c533e4 to
0b8f02f
Compare
No description provided.