Re: [Geany-Users] Deprecated code indicator

2017-10-02 Thread Ruud van Lent
Hi, thanks all for your answers and thinking along. This is exactly the route that I am going to pursue. I have implemented PHP Code Sniffer for Joomla: this will 'sniff' for code style and is integrated with Geany. A warning or error in the code style is displayed correctly in Geany. I am n

Re: [Geany-Users] Deprecated code indicator

2017-10-01 Thread Frank Lanitz
On 29.09.2017 03:17, Colomban Wendling wrote: > What I would look into is a compiler-like tool that reports those > issues, so it could be used as a build command, and Geany can highlight > the incriminated lines then. Just a thought though. This was my first thought too. A check for deprecated t

Re: [Geany-Users] Deprecated code indicator

2017-09-28 Thread Colomban Wendling
Le 26/09/2017 à 02:00, Lex Trotman a écrit : > On 26 September 2017 at 17:33, Ruud van Lent wrote: >> […] >> What I am looking for now is to have Geany indicate that a function / >> method, etc. I use is deprecated. >> >> Deprecated methods are marked deprecated in the docblock (with the >> @depre

Re: [Geany-Users] Deprecated code indicator

2017-09-26 Thread rhkramer
On Tuesday, September 26, 2017 08:53:02 AM Lex Trotman wrote: > All correct, except that strikethrough is not a style available to > Lexers, its an indicator which has to be set by the application (like > for example the red squiggly lines (technical term :) under typos and > compile errors). If a

Re: [Geany-Users] Deprecated code indicator

2017-09-26 Thread Ruud van Lent
Hi, for some reason I did not receive your individual mails, just the digest mails (multiple)... So not sure if this is going to break this thread... Anyway: thanks for answering :) fyi, the @deprecated tag is not a Joomla (which is a cms) specific docblock tag; it is a generic PHP tag: http

Re: [Geany-Users] Deprecated code indicator

2017-09-26 Thread Lex Trotman
On 26 September 2017 at 22:43, wrote: > On Tuesday, September 26, 2017 05:00:09 AM Lex Trotman wrote: >> On 26 September 2017 at 17:33, Ruud van Lent > wrote: >> > Deprecated methods are marked deprecated in the docblock (with the >> > @deprecated tag). What e.g. Eclipse or PHPstorm does is disp

Re: [Geany-Users] Deprecated code indicator

2017-09-26 Thread rhkramer
On Tuesday, September 26, 2017 05:00:09 AM Lex Trotman wrote: > On 26 September 2017 at 17:33, Ruud van Lent wrote: > > Deprecated methods are marked deprecated in the docblock (with the > > @deprecated tag). What e.g. Eclipse or PHPstorm does is display the used > > function with a 'striketrough

Re: [Geany-Users] Deprecated code indicator

2017-09-26 Thread Lex Trotman
On 26 September 2017 at 17:33, Ruud van Lent wrote: > Hi, > > I am a new user of Geany. Thank you for making and supporting this > wonderfull piece of software: I love the speed, knowing that I come from > Eclipse that is not so strange :). > > As said: I am 'migrating' my (Joomla CMS PHP code) fr

[Geany-Users] Deprecated code indicator

2017-09-26 Thread Ruud van Lent
Hi, I am a new user of Geany. Thank you for making and supporting this wonderfull piece of software: I love the speed, knowing that I come from Eclipse that is not so strange :). As said: I am 'migrating' my (Joomla CMS PHP code) from Eclipse. I have already a working Geany environment with