Does anyone know of a function or plugin to jQuery (or pure JS, doesn’t matter) that will perform a code completion type function? But with change-able options? Like I want to start typing [b] and when I add that last bracket, it automatically adds [/b] after the cursor? If anyone knows anything like this, it would be great and a gigantic time saver.
Does anyone know of a function or plugin to jQuery (or pure JS, doesn’t
Share
By using JQuery Caret Plugin, you could use some code like:
It’s not perfect, but it could be a start for a complete code completion function.