-8
API: Settings.set should cast strings to the appropriate type
For example, Settings.set("word_wrap", "false") should be interpreted as Settings.set("word_wrap", False).
+1
Oktay Acikalin 14 aastat tagasi
General casting is a bad habit. Please don't implement such things. Programmers should do that on their own need.
0
guillermooo 14 aastat tagasi
We're talking about options here. They should be easy to set, and they certainly aren't if you need to do type conversion/parsing on your part. I fail to see why this would be dangerous in any way. Also, this behavior was as described in Sublime Text 1.
0
Oktay Acikalin 14 aastat tagasi
"Sublime Text 2" also sounds like "I want to do everything better than before and don't repeat bad habits". IMHO this is a good point in time not to repeat this. It's also better to avoid any exceptions from the standard way, which is being precise.
Customer support service by UserEcho