05-03-2022-Finding-Antialiasing-Default-Config-In-A-Graphics-Engine
Finding a setting in source
Project
Work Project
Date
05/03/2022
Technology
- TypeScript
- VSCode
The Problem
Ticket for updating the default value for antialiasing on export. I could not find the files needed for setting the default without help.
The Process
- Asked my supervisor for help in finding where antialiasing might be.
- First we ran a whole project search in VSCode looking for references to
Antialiasingas it shows up in the export window so looking for just that word is a good start. - We ended up in the same place I had been before, the
projects/packages/config/src/defaultProjectAsset.tswhere we updated the quality.- That might not have solved the issue, I am still investigating.
- We did also find where the asset is created and has everything set for it.
- We had to use the project search, but also enable the
Match CaseandUse Whole Wordoptions in the search panel. - It also helped for us to add
*.tsto thefiles to includesection so that we were only looking for TypeScript files.
- We had to use the project search, but also enable the
Solution
We managed to find it by doing the following
- Looking for a word we see in the UI,
Antialiasing - Searching for the word using the universal search
- Setting the
Match CaseandUse Whole Wordoptions. - And add
*.tstofiles to includeso that we were only searching for TS files.
Those are all great tools for searching this codebase.
#ProblemSolving