tag:blogger.com,1999:blog-7888156866269720289.post684574889095805918..comments2023-11-05T11:15:45.570+01:00Comments on Linux, Games, Programming, and some other random stuff: kate: intelligent code completion for all languages!scummoshttp://www.blogger.com/profile/12133795109922287229noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-7888156866269720289.post-21054516512141622032019-08-27T11:39:54.375+02:002019-08-27T11:39:54.375+02:00digital marketing course
We at ikxbay are committe...<a href="https://www.ikxbay.com/" rel="nofollow">digital marketing course</a><br />We at ikxbay are committed to provide industry ready and relevant skill set training to freshers and professionals. Attend 1st 2 live classes for FREE!!<br />Rankbooster786https://www.blogger.com/profile/13183183600859840338noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-62067114088811246982015-04-21T13:48:05.448+02:002015-04-21T13:48:05.448+02:00Nice
Web Development CompanyNice <br /><a href="http://websensepro.com/our-services/web-design-and-development/" rel="nofollow">Web Development Company</a>Anonymoushttps://www.blogger.com/profile/17872437858794024103noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-23224644663982655562014-04-19T15:13:09.602+02:002014-04-19T15:13:09.602+02:00Cool, glad to hear it works ;)Cool, glad to hear it works ;)scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-1659172002365925892014-04-19T14:50:57.274+02:002014-04-19T14:50:57.274+02:00Hi scummos, it is great! I updated my KDE to 4.13 ...Hi scummos, it is great! I updated my KDE to 4.13 version and the code completion is working in Cantor!<br /><br />Thanks for you and all kate developers, kate/katepart is amazing!Filipe Saraivahttps://www.blogger.com/profile/12927146402376887089noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-79522717165901424792014-04-19T02:24:29.024+02:002014-04-19T02:24:29.024+02:00You don't have to do anything. When you set th...You don't have to do anything. When you set the highlighting mode, it will automatically complete all keywords the highlighter would highlight in that place.<br /><br />If it doesn't work for you, just write me an email and we'll figure it out. ;)<br /><br />Greetings!scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-62832694336712846712014-04-19T00:57:41.513+02:002014-04-19T00:57:41.513+02:00Hi scummos,
In Cantor we have a script editor bas...Hi scummos,<br /><br />In Cantor we have a script editor based in KTextEditor. You can see about it in http://blog.filipesaraiva.info/?p=1239<br /><br />Recently I developed the default highlighting syntax in this editor just setting KTextEditor::Document::setHighlightingMode.<br /><br />I would like to know if there is some function like setHighlightingMode to this new code completion feature. Or if no, how I can use it in KTextEditor based editors.<br /><br />Thank you!Filipe Saraivahttps://www.blogger.com/profile/12927146402376887089noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-76937358579987026642014-04-19T00:07:52.536+02:002014-04-19T00:07:52.536+02:00Hi Filipe,
there is no exported API for this feat...Hi Filipe,<br /><br />there is no exported API for this feature at the moment. I'm not sure what you would want to do with that ... ?<br />What functionality would you want KTextEditor to export related to this?<br /><br />Greetings!scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-23199079946915572612014-04-18T21:54:00.620+02:002014-04-18T21:54:00.620+02:00Hi scummos, will it be available as a function in ...Hi scummos, will it be available as a function in KTextEditor, like, for example, KTextEditor::Document::setHighlightingMode?<br /><br />If yes, which is the function name to this?<br /><br />Thank you.Filipe Saraivahttps://www.blogger.com/profile/12927146402376887089noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-54845520895110451262014-03-16T14:42:33.727+01:002014-03-16T14:42:33.727+01:00Yes, it's implemented in the part. It will wor...Yes, it's implemented in the part. It will work for all applications based on that.scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-34301354088083128782014-03-16T14:40:57.206+01:002014-03-16T14:40:57.206+01:00Thanks scummos, it will be really great to use it ...Thanks scummos, it will be really great to use it in Cantor scripts editor.<br />Will this feature be available for Kate and to KTextEditor/Kate-part too?<br /><br />Best regards;Filipe Saraivahttps://www.blogger.com/profile/12927146402376887089noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-9532496709539618212014-02-22T13:53:40.427+01:002014-02-22T13:53:40.427+01:00Ok, thanks. Can't wait for next release.Ok, thanks. Can't wait for next release. Anonymoushttps://www.blogger.com/profile/12469654078619174796noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-82660084591971549552014-02-22T11:01:15.420+01:002014-02-22T11:01:15.420+01:00This feature is new and not yet in any released ve...This feature is new and not yet in any released version of kate. You'll have to wait for the next one.scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-42241213568965478062014-02-22T06:37:57.008+01:002014-02-22T06:37:57.008+01:00My Kate don't have this intelligent code compl...My Kate don't have this intelligent code completion. I use Kate 3.11.5 in KDE 4.11.5. Which version do you use?Anonymoushttps://www.blogger.com/profile/12469654078619174796noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-74609306032549871692014-02-10T09:45:38.689+01:002014-02-10T09:45:38.689+01:00Yes, that was the idea.
Oh, huh, and then comes t...Yes, that was the idea.<br /><br />Oh, huh, and then comes the translation issue. We can't throw megabytes of docs for random languages at the translators ...<br />I'm unsure about this. It's certainly not the lowest-hanging fruit out there, and maybe we should first concentrate on making better use of the existing features in the syntax files. :)scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-48047640640174807872014-02-10T02:11:14.628+01:002014-02-10T02:11:14.628+01:00Makes sense: "Instead, the information from t...Makes sense: "Instead, the information from the page (valid sub-elements, valid attributes) should imo be integrated into the syntax file itself, such that it knows which attributes and child elements are valid in the current context. That will automatically restrict completion to those items and it will also enable you to mark wrong attributes e.g. in a different color."<br /><br />I am assuming that docstring in "Maybe both issues could be solved by having a "description=" attribute in the item lists, which contains such a docstring. That could be generated from some kind of online docs depending on the language." the "simple docstring with a two-sentence description" from the previous paragraph.<br /><br />Sounds good to me. Keep up the good work<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-85555580470020410092014-02-08T13:03:11.122+01:002014-02-08T13:03:11.122+01:00A masterpiece of work :-) Really cool patchA masterpiece of work :-) Really cool patchdhaumannhttps://www.blogger.com/profile/06242913572752671774noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-55628665510279981072014-02-08T11:37:55.120+01:002014-02-08T11:37:55.120+01:00Certainly an interesting idea.
Presenting the inf...Certainly an interesting idea.<br /><br />Presenting the information itself is not a problem. The completion model has an "extra item details" mode which is triggered by pressing Alt with an item selected. It's just not used by kate itself currently (but KDevelop uses it).<br /><br />I don't think we can ship full documentation. Besides the size, which might be hundreds of megabytes (just a guess, I don't know), it will be very hard to keep it up-to-date and might even have copyright issues in some cases.<br /><br />Also, what information to display? The page you have there is way too spread-out in its formatting to be displayed in a completion item. The text you want to display in there is a plain, simple docstring with a two-sentence description, not a complete manual page (that should be a separate plugin). <br />Instead, the information from the page (valid sub-elements, valid attributes) should imo be integrated into the syntax file itself, such that it knows which attributes and child elements are valid in the current context. That will automatically restrict completion to those items and it will also enable you to mark wrong attributes e.g. in a different color.<br /><br />Maybe both issues could be solved by having a "description=" attribute in the item lists, which contains such a docstring. That could be generated from some kind of online docs depending on the language. For more extensive documentation, I think a separate plugin is the way to go (see KDevelop's documentation plugin).scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-52535381564582819072014-02-08T11:24:43.154+01:002014-02-08T11:24:43.154+01:00There isn't, but it's a good idea to have ...There isn't, but it's a good idea to have something like that -- a wiki page sounds like a good place to start such a table, maybe. :)scummoshttps://www.blogger.com/profile/12133795109922287229noreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-32512548601853753042014-02-08T06:58:14.453+01:002014-02-08T06:58:14.453+01:00Awesome work!
I have an Idea. Is there a way we ca...Awesome work!<br />I have an Idea. Is there a way we can use the key words to call up documentation of some sort. I think it was a feature that I saw in "bluefish," a gtk html editor a long time ago. For instance, when I type in the "<p>" tag in the code page, the documentation frame, when enabled (Kate/KDevelop), can show something like http://web.archive.org/web/20130301022357/http://learningforlife.fsu.edu/webmaster/references/xhtml/tags/text/p.cfm.<br /><br />I am not sure if what I have just recommended makes sense. but it would be really cool to implements something like that for html and php using php.net and any other available documentation engine. Whether or not the feature should be an online only feature or offline feature is up to you. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7888156866269720289.post-21408563272312348752014-02-08T04:22:46.561+01:002014-02-08T04:22:46.561+01:00After looking at the highlighting files, I always ...After looking at the highlighting files, I always wondered why keyword completion wasn't augmented by the values in there based on context. I'm happy to see that it actually got added. Is there a table some place that lists all of the current syntax files and how "cmplete" they are? It'd be nice to be able to see what's done and what needs to be done for each one instead of having to look through each of the files individually.Anonymoushttps://www.blogger.com/profile/01417101630989857713noreply@blogger.com