We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95dd55a commit e498e1dCopy full SHA for e498e1d
1 file changed
client/core/search/files.js
@@ -31,4 +31,24 @@ define([
31
}, this)));
32
});
33
34
+
35
+ // Search for recent opned files
36
+ search.handler({
37
+ 'id': "recentfiles",
38
+ 'title': "Recent Files"
39
+ }, function(query) {
40
+ return files.recent.map(function(file) {
41
+ return {
42
+ "category": "Recent Files",
43
+ "title": file.path(),
44
+ "position": 0,
45
+ "icons": {
46
+ "search": "file-o"
47
+ },
48
+ "action": _.bind(function() {
49
+ files.open(file);
50
+ }, this)
51
+ };
52
+ });
53
54
0 commit comments