Atom search wildcard Fuzzy Find Files - atom-editor

Is there away to search for files using wildcard with the Fuzzy Find Files in Atom (cmd-t cmd-p)
e.g.
*query.js
shows
jquery.js

Press Ctrl+Fand then Ctrl+Alt+/ for regex search
https://discuss.atom.io/t/search-wildcards-for-find-replace/16928

the key cmd-b will make a wildcard search

Related

"./src/**/*.{html,js}" in tailwindcss's content what does this asterisks mean?

Are this "*" mean anything like "." or ".." when we define path? I am not getting what those means. Why can't I specify the path in the usual way? I wanted to use paths like "../../XYZ" or something like that. But where is this asterisk coming from and what does it mean? Can I define the path in tailwind without using the asterisk?
If anyone can help I would be most glad. I am new to tailwind CSS so a little bit confused. Thank you.
The asteriks are used for dynamic imports for if you want Tailwinds to scan for content in any folder that is under ./src/ (asuming you are using ./src/**/*.{html,js} as content in tailwinds.config.js file. That means if you use ./src/**/*.{html,js}, the first two ** will look for any folder inside ./src, including subfolders.
So, for example, file path in your configuration file will most likely look like:
./src/**/*.{html,js}
./something-else/**/*.{html,js}
And these configured paths will "translate" to something like:
./src/folder1/file.html
./src/folder1/file.js
./src/folder1/subfolder/file.js
./something-else/folder1/file.html
./something-else/folder1/file.js
etc..
Which means if you add a file with the .js or .html extension in the specified folder(s), Tailwinds will automatically include these files in your project.
According to the documentation, you don't want to use really broad path configurations like /**/*.{html,js}' but rather use something like:
./components/**/*.{html,js}
See the Tailwinds content configuration documentation for more examples.
you can use * to match anything except slashes and hidden files,
and use ** to match zero or more directories.
check this site it will help you:
https://tailwindcss.com/docs/content-configuration

How Can I exclude some files in visual studio finding?

I have a project in asp.net web form and I want to search all files which contains "~/Products" with ctrl+shift+f but I want to exclude a file which is Server.Transfer("~/Products"). I tried regex but it did not work. How Can I do this with regex or something else?
I tried
*~/Products*;!*Server.Transfer("~/Products")*;
If you want to search all files which contains "~/Products" and exclude a file which is Server.Transfer("~/Products").
You can try this regex:
^((?!Server\.Transfer).)*~/Products((?!Server\.Transfer).)*$

Is it possible to search some word in js files only of certain project?

I am using Brackets and Atom for front-end development.
I am trying to achieve this:
1. Search the certain work Ex: "Testing"
2. That word is in so many files which are html,javascript and others.
3. I want only *.js files to display the results.
There are 100s of files, it is difficult to manually do it.
What I'm trying to achieve?
I want to search all Regex written for the form validation in this project.
Yes, it is.
First ctrl + shift + F
In the first input box (Find in Project), enter the word you want to search.
In the last input box(File/Directory Pattern), enter Projectname,*.js
Note: ProjectName is case sensitive.

How to exclude subfolders and files in the Search pane of LightTable?

What is the syntax of the Locations field in the Find and Replace pane of LightTable? (which appears when hitting CTRL-SHIFT-F, or CTRL+SPACE then Searcher: show)
I would like to exclude all files of the docs/ subfolder, as well as all *.txt and *.csv files of my workspace. What should I enter in the Locations field to exclude them from a search & replace?
Or inversely, I'd like to include only the files from the src/ subfolder. How would I accomplish that?
There doesn't seem to be a way to exclude directories or file patterns right now. However, you can specify which directories to include. You will have to write the whole path though (relative paths use Light Table's application directory). If you want to have more than one path you can separate them by using a comma:
/absolute/path/to/first/dir, /absolute/path/to/second/dir

Combine two config files as an a single file

I have a project with 3 subprojects:AdminPages, UserPags ,UIpages,each part has a separate files.for example AdminPages is coded by MVC4, Userpages and Uipages is coded by ASP web form .
So i have 2 config files,my question is can i combine these two files into single file?Or i have to put each project in a special subdomain ?
Thanks.If i can i will add config files to this post.
With a little google, I came to an answer where it was stated that you can use: XmlConfigMerge.
A qoute from the site:
The XmlConfigMerge utility (provided both as a library assembly and as a console application) supports this merging of XML .config files, and also supports setting of specific parameters via XPath filtering and optional Regex pattern matching.
Go there and try their code and documentation. Good luck!

Resources