A sublime text plugin to format text.
- Use Package Control to install
- Or you can download or clone directly and drop into your Sublime Text 3 packages directory
Format syntax example.
- my name is {}, come from {}.
- INSERT INTO Persons (id, name, gender) VALUES ({0}, {1}, {2});
- {0} * {0} = {1}
The number of columns must be equal to the number of format string parameters.
"separator": [",",",",";"] //default separators. space is implicit included
PzFormat will auto split data into lines and try to format each line.
- You can use
{{replace{and}}replace}to avoid them escaped.
e.g.string.format("{{}},{{}},{{}}", {},{},{});show be format tostring.format("{},{},{}", value1,value2,value3);
