machx / dtrace-textmate-bundle Goto Github PK
View Code? Open in Web Editor NEWA Bundle that adds DTrace language, commands and scripts to TextMate
A Bundle that adds DTrace language, commands and scripts to TextMate
This is a bundle for TextMate that adds the D Scripting language for DTrace and several useful DTrace scripts to TextMate. See the "Wiki" section at the top of the page for a more detailed explanation as to what works and what doesn't work right now. What's Changed in 1.0 Beta 4 [CHANGED] Cleaning up Menu Structure some menu items have moved around slightly [NEW] Scripts in the "More Mac OS X D Scripts" menu What's Changed in 1.0 Beta 3? [NEW] Run Script in terminal works! This is very preliminary and works for scripts that don't have "$target" (ones where you would invoke the script with -p) eventually a mechanism will be added so you can specify a pid or select an App to trace before running [NEW] Entry & Return DTrace keywords and Tab Triggers [FIX] Removed Redundant ustack() calls inside the Core Data Snippets [FIX] One of the recently added DTrace providers still had boiler text there for some reason, changed this to the provider name [FIX] Added the scope ( source.d ) to the newly added DTrace providers that were lacking any scope [CHANGED] Changed "D Script" to just "D", screw the other D :P What's changed in 1.0 Beta 2? [ADDED] List of DTrace Providers [FIX] Target's Trigger (keyboard shortcut "\") has been removed [FIX] "$target" instead of just "target" is recognized as a DTrace keyword [FIX] Many snippets had "source.d," as the scope instead of just "source.d" which meant that the tab triggers extended into any TextMate Document [FIX] Many DTrace keywords in the "More DTrace Keywords" had no scope, this has been changed to "source.d" [CHANGED] D Script Language Keyboard Shortcut to avoid conflict with "Diff" Beta 1 Initial release
when you use predicates for dtrace blocks the bundle should automatically insert them at the correct location just under the provider/module/function/name declaration instead of just inserting them wherever the cursor is at
any script with $target as the pid does not run when you do the “Run command in terminal” command
for now the workaround is to not use them, but it should detect this and accept an argument for the desired pid or app name
this is just a test to test this repository
The regex in the dtrace bundle is not up to what it is supposed to be. As such there needs to be different colors for
DTrace script declaration
probe providers
probe modules
probe functions
probe keywords (entry,return,etc.)
DTrace arrays
DTrace keywords
etc
need to add the regex to recognize functions so that with TextMates method selector popup can switch between DTrace blocks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.