<p>Am 21.11.2014 07:27 schrieb "Sven Barth" <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>>:<br>
><br>
> On 20.11.2014 23:41, Mattias Gaertner wrote:<br>
>><br>
>> On Thu, 20 Nov 2014 17:16:40 +0100<br>
>> Sven Barth <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>> wrote:<br>
>><br>
>>> Hello together!<br>
>>><br>
>>> Is there a possibility to prevent the CodeTools from parsing a piece of<br>
>>> code while allowing the compiler to parse it? For example some define<br>
>>> that's only set for CodeTools, but not for the compiler?<br>
>>> This would be really useful for people like me who either work on New<br>
>>> compiler features or use newer features in stable (aka older) versions of<br>
>>> the IDE. :)<br>
>><br>
>><br>
>> Tools / Codetools Defines Editor<br>
>> Edit / Insert Node Below / Define Recurse<br>
>><br>
>> Name: InLazIDE<br>
>> Description: Define InLazIDE everywhere<br>
>> Variable: InLazIDE<br>
>> Value: 1<br>
>><br>
>> Then you can use anywhere:<br>
>> {$IFDEF InLazIDE}<br>
>> only valid in Lazarus source editor<br>
>> {$ENDIF}<br>
><br>
><br>
> Thanks, I will try that. :) Does this work with 1.2.2 already?</p>
<p>To answer myself: yes it does. And it works exactly as intended! :D</p>
<p>Regards,<br>
Sven</p>