Skip to content

Commit 901ace9

Browse files
committed
src folder
1 parent e543181 commit 901ace9

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
node_modules
2-
media
31
.vscode-test/
2+
*.mp3
43
*.vsix
4+
media
5+
node_modules

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"activationEvents": [
1313
"*"
1414
],
15-
"main": "./extension.js",
15+
"main": "src/extension.js",
1616
"contributes": {
1717
"viewsContainers": {
1818
"activitybar": [

extension.js renamed to src/extension.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ const vscode = require('vscode')
33
* @param {vscode.ExtensionContext} context
44
*/
55
function activate(context) {
6-
vscode.window.showInformationMessage('Hello World!')
6+
vscode.window.showInformationMessage('Hello World!')
7+
let files = vscode.workspace.findFiles('**/*.mp3', null, 100)
8+
files.then((data) => console.log(data),(error) => console.error(error))
79
}
810
exports.activate = activate
911

0 commit comments

Comments
 (0)