tag:blogger.com,1999:blog-7888156866269720289.post58433190636805397..comments2023-11-05T11:15:45.570+01:00Comments on Linux, Games, Programming, and some other random stuff: Snippets in Kate 5scummoshttp://www.blogger.com/profile/12133795109922287229noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-7888156866269720289.post-22395152495168764332016-10-11T03:01:30.153+02:002016-10-11T03:01:30.153+02:00The way I have found to solve this problem was by:...The way I have found to solve this problem was by:<br />- creating a new snippet in Kate with some weird, unique contents (i.e. 'findmysnippet').<br />- search my home folder for the new location, using full text search in krusader for .xml files<br />- copy the old snippet files to their new location.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-48982299667084683862016-09-09T07:29:04.837+02:002016-09-09T07:29:04.837+02:00I upgraded from Fedora 22 to 23 to 24, and somewhe...I upgraded from Fedora 22 to 23 to 24, and somewhere along the way my snippet repository disappeared from Kate. The file is still on the file system, but I don't know how to load it back into Kate.<br /><br />Neither have I worked out how to publish repos yet, but that's less important for now.<br /><br />Thanks<br />Kangajihttps://www.blogger.com/profile/17563419701371783898noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-15401059365709181792016-03-06T22:17:56.773+01:002016-03-06T22:17:56.773+01:00Also here, can you please create a bug report and ...Also here, can you please create a bug report and assign it to me? This blog is really not the place to track issues :/scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-17233840994997802362016-03-06T21:51:45.725+01:002016-03-06T21:51:45.725+01:00As I see, you still have not find solution to the ...As I see, you still have not find solution to the bad indentation i.e. when inserting at the 3rd tab from margin.<br />As I see it, it does not read the number of spaces/tabs there are before the insert point. If it did and find nothing else but spaces/tabs it should copy those right after inserting a new line then the line to append.<br />Then no matter where I would insert a snippet, it would left align with the same column<br /><br />What do you think ?<br />Fernand Veilleuxnoreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-70464279844853180182016-03-06T02:11:52.606+01:002016-03-06T02:11:52.606+01:00As said, if you want to discuss this let's do ...As said, if you want to discuss this let's do it on bugs.kde.org please and not in my blog. That way other people can participate as well.scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-50039455570359573492016-03-06T01:58:36.880+01:002016-03-06T01:58:36.880+01:00snippets plugin should give overview of snippets a...snippets plugin should give overview of snippets and not only create a list of names. I agree that this is ok if you have about 20 snippets, you can overview all of them. I created library with about 1000 snippets.<br /><br /><br /><br />Compare snippets in the list now<br /><br />class<br />class-1<br />class_x_should_use_such_stupid_description_in_the_name<br /><br /><br />and before<br />class // this is a simple snippet and comment is in displaypostfix<br /><br />clas // with some default constructor and this comment is also in displaypostfix<br /><br />etc.<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-77274960614492962432016-03-03T17:38:25.649+01:002016-03-03T17:38:25.649+01:00We decided to remove this feature, because the dia...We decided to remove this feature, because the dialog was way too crowded and intimidating, and I felt like it was not required. It could be added back in, patches welcome. If you want anyone to notice, please post this on bugs.kde.org as a wish.Svenhttp://blog.svenbrauch.denoreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-42695101509404474342016-03-03T15:54:14.144+01:002016-03-03T15:54:14.144+01:00*from
-> from displayprefix, displaypostfix*from<br />-> from displayprefix, displaypostfixAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-83366563063333510772016-03-03T15:50:13.580+01:002016-03-03T15:50:13.580+01:00Old and good kate snippets plug-in was able to sho...Old and good kate snippets plug-in was able to show some useful comments from , etc.<br /><br />I used them intensively to add explanations what each snippet does exactly.<br /><br />Now this all is gone, because the only "name" field doesn't allow to add spaces in snippets :(<br /><br />This is a HUGE step backward in functionality<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-35870813417060966072015-10-23T17:11:46.826+02:002015-10-23T17:11:46.826+02:00You mean the cursor position in line, column? In p...You mean the cursor position in line, column? In principle by using something like ${view.cursorPosition().line()}, but that doesn't seem to work ... apparently the KTextEditor::Cursor class is not exported to JS :/scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-86856791430382876752015-10-23T14:34:35.233+02:002015-10-23T14:34:35.233+02:00Hi, is there any way how to return ${cursor} varia...Hi, is there any way how to return ${cursor} variable from javascript ? I need it for snipet where cursor location differs based on selected text.jameshttps://www.blogger.com/profile/18017365219760836596noreply@blogger.com