![]() |
#1
|
|||
|
|||
DSDT editing tips
EDITING
I wanted to share a DSDT editing tip with everyone. Since these files are thousands of lines long it drives me crazy trying to edit everything. BareBones software makes BBEdit. You can download a free 30 day trial so get all your DSDT editing done in 30 days. http://www.barebones.com/products/bbedit/ This app lets you "fold" sections of code so what you end up with is a very readable file when completely folded. Open your DSDT.dsl file in the menu goto Edit>Text Options Select the ActionScript profile because the DSDT closely resembles AS. Don't worry it won't affect your file or change the extension on you. This is strictly for syntax coloring and folding. prefs.jpg Folded: folded.jpg Unfolded: unfolded.jpg NICE! Now can actually start to see the hierarchy this way. If only the free TextWrangler offered folding. ![]() COMPARING DSDTs BBEdit has a built in compare feature. You can access it via contextual menu: contextual compare.png Or via search menu: menu.jpg Another great FREE compare utility is called DiffMerge. This does a better job at comparing two or more documents at the same time but since the majority of my time is spent in BBEdit I just use BBEdit's built in feature. http://www.sourcegear.com/diffmerge/ ![]() Last edited by kDawg; 09-02-2009 at 12:39 PM. |
|