vscode-search-files
Use VSCode's quickOpen to access files immediately.
Common Usage
usage in Mac
Select the area
you wish to search
CMD + SHIFT + P
|| CMD + P
(Open QuickOpen) and Input > Search Ruby Module
,
- Input
Search Ruby Module
- Press
Enter
key
Ruby Usage
API::V1::Users.new
API::V1::Users.new.get_all
Click Users
vs using this extension
Search modules
SAMPLE Code
@see Samples/Ruby
Search Ruby Module
# samples/ruby/API/V1/Users.rb
module API
module V1
class Users
def get_all
# ...
end
end
end
end
# samples/ruby/API/V2/Users.rb
module API
module V2
class Users
def get_all
# ...
end
end
end
end
# samples/ruby/API/V1/Customers.rb
module API
module V1
class Customers
def get_all
# ...
end
end
end
end
# samples/ruby/API/V2/Customers.rb
module API
module V2
class Customers
def get_all
# ...
end
end
end
end
API::V1::Users.new.get_all
API::V2::Users.new.get_all
API::V1::Customers.new.get_all
API::V2::Customers.new.get_all
Common Usage
Change case and search
Split words and make all words singular
UsersDetails
→ UserDetail
Split words and make all words plural
UserDetail
→ UsersDetails
commonPluralSingular
Searches for common word parts in singular and plural forms.
It is used when it is not clear whether the file name was created in the singular or plural form.
AgencyDetail
→ AgencDetail
AgenciesDetails
→ AgencDetail
UsersDetails
→ UserDetail
UserDetail
→ UserDetail
and each case
The following cases are supported.
- camelCase
- capitalCase
- constantCase
- dotCase
- headerCase
- noCase
- paramCase
- pascalCase
- pathCase
- sentenceCase
- snakeCase
Count
SearchFiles: Get Word Count
A count of the number of characters in multibyte characters (Japanese like "日本語", pictographs🇯🇵, etc.).
Since JavaScript's standard length cannot count them, they are measured by Intl.Segmenter. This is a completely extra function.