Add tooltip for setting file and use base name

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-11-21 21:50:51 -05:00
parent 049b6bdc8f
commit db7972e887
2 changed files with 3 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ export default class SettingsTreeDataProvider implements TreeDataProvider<Github
existingSettingFileNames.push(settingFileName);
} else {
const newSettingFile: SettingFile = {
name: path.parse(uri.fsPath).name,
name: path.parse(uri.fsPath).base,
path: uri.fsPath,
selected: false
};