![]() ![]() ![]() Simple, lightweight, super useful, responsive developer "I'm buying it right now." - Leo Laporte, MacBreak Weekly "I think even Mac traditionalists might be tempted." - Dan Frakes, MacWorld "If you love the tap and copy functionality of iOS and want it on your home computer, PopClip is a simple app that adds similar functionality" - lifehacker "an awesome new utility from Pilotmoon that makes the copy & paste function on your Mac look just like the copy & paste function on your iPhone" - Cult of Mac For that alone, it is worth its asking price." - The Next Web "PopClip has achieved near perfect integration with Mac OS X and seems like a default feature of the operating system. For an up-to-date list of known incompatible apps, see Please note: PopClip works in most Mac apps, but not in all. See the full range of available actions at: PopClip integrates with many popular apps and websites. ![]() Send a snippet to a translation website, or add a task to your favourite to-do app. You can transform the text from lowercase to capitals, or sort the selected lines alphabetically. Select a URL, and PopClip lets you open it, or shorten it, or add it to your reading list. Select a misspelled word, and PopClip offers corrections. The basic actions include copy and paste, dictionary lookup, and web search. What keeps my package small, is that literally just uses a regex to separate "words".PopClip pops up when you select text with your mouse, giving you a customizable row of helpful action buttons. We'll compare this package with blakeembrey/change-case, a very famous package on npm. You can download the BTT preset from the source code: case-anything.bttpreset. ![]() Here is an example triggering keyboard shortcuts to convert the selected text to PascalCase kebab-case camelCase: This repo provides an easy to install preset that has shortcuts for pascal, kebab and camel case! (thanks to It even supports multi-cursors in VSCode! With Better Touch Tool you can set up keyboard shortcuts to convert selected text with JavaScript. I have made sure there is great documentation available on hover! Instead of removing all special characters, you can opt to keep some special characters. NameĪlso note, that multiple sequential spaces are treated as one space. toLowerCase ( ) = 'cat.dog' Strings with spacesĪs soon as there is a space in the target string, it will regard the input as a sentence and only split each part at the spaces. default: dotNotation ( '$catDog' ) = 'cat.Dog' // force lower case: dotNotation ( '$catDog' ). *You can control wether or not to keep or remove special characters like so: functions that remove special characters* You can see that most functions by default remove special characters, and some functions keep special characters. With spaces it will split and format on every "word" based on those spaces.Without spaces it will split and format on every "part" it can detect.just import the functions you need like so: import from 'case-anything'Ĭase-anything has different behaviour if the string you pass has spaces or not. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |