10 comments

Hello Stefan

I saw that in the mapping file it will highlight type="String" saying that
the type could not be resolved. This could be fixed by specifying
type="System.String" but what if you want to specify the NHibernate data
types as mentioned in the documentation on
http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property?

Cheers

Gabriel Lozano-Moran

"Stefan Lieser" <stefan@lieser-online.de> wrote in message
news:483B0B75.9040303@lieser-online.de...

Version 1.0 alpha 1 of the ReSharper NHibernate plugin is released. Please
see http://www.lieser-online.de/blog/?p=84 for details and download.

>
>

Regards,
Stefan Lieser
--
http://www.lieser-online.de



0

Hello Gabriel,

this is fixed in build 0.9.2 which you can download from
http://nhplugin.lieser-online.de/


Regards,
Stefan Lieser
--
http://lieser-online.de

Gabriel Lozano-Moran schrieb:

Hello Stefan

I saw that in the mapping file it will highlight type="String" saying that
the type could not be resolved. This could be fixed by specifying
type="System.String" but what if you want to specify the NHibernate data
types as mentioned in the documentation on
http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property?

Cheers

Gabriel Lozano-Moran

"Stefan Lieser" <stefan@lieser-online.de> wrote in message
news:483B0B75.9040303@lieser-online.de...

>> Version 1.0 alpha 1 of the ReSharper NHibernate plugin is released. Please
>> see http://www.lieser-online.de/blog/?p=84 for details and download.
>>
>>
>> Regards,
>> Stefan Lieser
>> --
>> http://www.lieser-online.de


0

Great! I will give it a try :)

Gabriel

"Stefan Lieser" <stefan@lieser-online.de> wrote in message
news:g2tjk9$c1a$1@is.intellij.net...

Hello Gabriel,

>

this is fixed in build 0.9.2 which you can download from
http://nhplugin.lieser-online.de/

>
>

Regards,
Stefan Lieser
--
http://lieser-online.de

>

Gabriel Lozano-Moran schrieb:

>> Hello Stefan
>>
>> I saw that in the mapping file it will highlight type="String" saying
>> that the type could not be resolved. This could be fixed by specifying
>> type="System.String" but what if you want to specify the NHibernate data
>> types as mentioned in the documentation on
>> http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property?
>>
>> Cheers
>>
>> Gabriel Lozano-Moran
>>
>> "Stefan Lieser" <stefan@lieser-online.de> wrote in message
>> news:483B0B75.9040303@lieser-online.de...
>>> Version 1.0 alpha 1 of the ReSharper NHibernate plugin is released.
>>> Please see http://www.lieser-online.de/blog/?p=84 for details and
>>> download.
>>>
>>>
>>> Regards,
>>> Stefan Lieser
>>> --
>>> http://www.lieser-online.de
>>

0

I installed 0.0.9.2 but unfortunately I still have the same problem as you can see in the screenshot, maybe I am doing something wrong?
 
 
"Stefan Lieser" <stefan@lieser-online.de> wrote in message news:g2tjk9$c1a$1@is.intellij.net...
> Hello Gabriel,
>
> this is fixed in build 0.9.2 which you can download from
> http://nhplugin.lieser-online.de/
>
>
> Regards,
> Stefan Lieser
> --
> http://lieser-online.de
>
> Gabriel Lozano-Moran schrieb:
>> Hello Stefan
>>
>> I saw that in the mapping file it will highlight type="String" saying that
>> the type could not be resolved. This could be fixed by specifying
>> type="System.String" but what if you want to specify the NHibernate data
>> types as mentioned in the documentation on
>> http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property?
>>
>> Cheers
>>
>> Gabriel Lozano-Moran
>>
>> "Stefan Lieser" <stefan@lieser-online.de> wrote in message
>> news:483B0B75.9040303@lieser-online.de...
>>> Version 1.0 alpha 1 of the ReSharper NHibernate plugin is released. Please
>>> see http://www.lieser-online.de/blog/?p=84 for details and download.
>>>
>>>
>>> Regards,
>>> Stefan Lieser
>>> --
>>> http://www.lieser-online.de
>>
>> ]]>



Attachment(s):
NHibernate Plugin Complaining.png
0

What says the tooltip for the red squiggles?

Gabriel Lozano-Moran schrieb:

I installed 0.0.9.2 but unfortunately I still have the same problem as
you can see in the screenshot, maybe I am doing something wrong?


"Stefan Lieser" <stefan@lieser-online.de
<mailto:stefan@lieser-online.de>> wrote in message
news:g2tjk9$c1a$1@is.intellij.net...
> Hello Gabriel,
>
> this is fixed in build 0.9.2 which you can download from
> http://nhplugin.lieser-online.de/
>
>
> Regards,
> Stefan Lieser
> --
> http://lieser-online.de
>
> Gabriel Lozano-Moran schrieb:
>> Hello Stefan
>>
>> I saw that in the mapping file it will highlight type="String"
saying that
>> the type could not be resolved. This could be fixed by specifying
>> type="System.String" but what if you want to specify the NHibernate
data
>> types as mentioned in the documentation on
>>
http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property?
>>
>> Cheers
>>
>> Gabriel Lozano-Moran
>>
>> "Stefan Lieser" <stefan@lieser-online.de
<mailto:stefan@lieser-online.de>> wrote in message
>> news:483B0B75.9040303@lieser-online.de...
>>> Version 1.0 alpha 1 of the ReSharper NHibernate plugin is released.
Please
>>> see http://www.lieser-online.de/blog/?p=84 for details and download.
>>>
>>>
>>> Regards,
>>> Stefan Lieser
>>> --
>>> http://www.lieser-online.de
>>
>>

0

Hi Gabriel,

I found the problem: if you use the /nhibernate-mapping/@namespace
attribute it is used to prefix every type used in the property elements.
I will fix it...

Regards,
Stefan Lieser

Stefan Lieser schrieb:

What says the tooltip for the red squiggles?

Gabriel Lozano-Moran schrieb:

>> I installed 0.0.9.2 but unfortunately I still have the same problem as
>> you can see in the screenshot, maybe I am doing something wrong?
>>
>>
>> "Stefan Lieser" <stefan@lieser-online.de
>> <mailto:stefan@lieser-online.de>> wrote in message
>> news:g2tjk9$c1a$1@is.intellij.net...
>> > Hello Gabriel,
>> >
>> > this is fixed in build 0.9.2 which you can download from
>> > http://nhplugin.lieser-online.de/
>> >
>> >
>> > Regards,
>> > Stefan Lieser
>> > --
>> > http://lieser-online.de
>> >
>> > Gabriel Lozano-Moran schrieb:
>> >> Hello Stefan
>> >>
>> >> I saw that in the mapping file it will highlight type="String"
>> saying that
>> >> the type could not be resolved. This could be fixed by specifying
>> >> type="System.String" but what if you want to specify the
>> NHibernate data
>> >> types as mentioned in the documentation on
>> >>
>> http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property?
>>
>> >>
>> >> Cheers
>> >>
>> >> Gabriel Lozano-Moran
>> >>
>> >> "Stefan Lieser" <stefan@lieser-online.de
>> <mailto:stefan@lieser-online.de>> wrote in message
>> >> news:483B0B75.9040303@lieser-online.de...
>> >>> Version 1.0 alpha 1 of the ReSharper NHibernate plugin is
>> released. Please
>> >>> see http://www.lieser-online.de/blog/?p=84 for details and download.
>> >>>
>> >>>
>> >>> Regards,
>> >>> Stefan Lieser
>> >>> --
>> >>> http://www.lieser-online.de
>> >>
>> >>

0

It says:
 
Type "String" could not be resolved. I have also noticed that even if the plugin is disabled that these errors still count as an error in the solution, the only difference is that ReSharper will not highlight them but you can still can navigate these errors with <Shift><Alt><PgUp> and <Shift><Alt><PgDown> (see the screenshot). This could be a bug in ReSharper...
 
 
Cheers
 
 
Gabriel Lozano-Moran
 
 
 
"Stefan Lieser" <stefan@lieser-online.de> wrote in message news:g2tn2h$9bg$1@is.intellij.net...
> What says the tooltip for the red squiggles?
>
> Gabriel Lozano-Moran schrieb:
>> I installed 0.0.9.2 but unfortunately I still have the same problem as
>> you can see in the screenshot, maybe I am doing something wrong?
>>  
>>  
>> "Stefan Lieser" <stefan@lieser-online.de
>> <mailto:stefan@lieser-online.de>> wrote in message
>> news:g2tjk9$c1a$1@is.intellij.net...
>>  > Hello Gabriel,
>>   >
>>  > this is fixed in build 0.9.2 which you can download from
>>  > http://nhplugin.lieser-online.de/
>>  >
>>  >
>>  > Regards,
>>  > Stefan Lieser
>>  > --
>>  > http://lieser-online.de
>>  >
>>  > Gabriel Lozano-Moran schrieb:
>>  >> Hello Stefan
>>   >>
>>  >> I saw that in the mapping file it will highlight type="String"
>> saying that
>>  >> the type could not be resolved. This could be fixed by specifying
>>   >> type="System.String" but what if you want to specify the NHibernate
>> data
>>  >> types as mentioned in the documentation on
>>  >>
>> http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property?
>>  >>
>>  >> Cheers
>>  >>
>>  >> Gabriel Lozano-Moran
>>  >>
>>  >> "Stefan Lieser" <stefan@lieser-online.de
>> <mailto:stefan@lieser-online.de>> wrote in message
>>  >> news:483B0B75.9040303@lieser-online.de...
>>  >>> Version 1.0 alpha 1 of the ReSharper NHibernate plugin is released.
>> Please
>>   >>> see http://www.lieser-online.de/blog/?p=84 for details and download.
>>   >>>
>>  >>>
>>  >>> Regards,
>>  >>> Stefan Lieser
>>   >>> --
>>  >>> http://www.lieser-online.de
>>  >>
>>  >> ]]>



Attachment(s):
Plugin disabled still shows error in the solution.png
0

After reopening the mapping files one by one they disappear from the Errors in Solution window, strange. In this screenshot I opened all the mapping files one by one except for SizeBE.hbm.xml and as you can see they all disappeared from the Errors in Solution window except for SizeBE.hbm.xml:
 
 
"Gabriel Lozano-Moran" <gabriel@lozano-moran.name> wrote in message news:g2to6l$t70$1@is.intellij.net...
It says:

Type "String" could not be resolved. I have also noticed that even if the plugin is disabled that these errors still count as an error in the solution, the only difference is that ReSharper will not highlight them but you can still can navigate these errors with <Shift><Alt><PgUp> and <Shift><Alt><PgDown> (see the screenshot). This could be a bug in ReSharper...



Cheers


Gabriel Lozano-Moran



"Stefan Lieser" <stefan@lieser-online.de> wrote in message news:g2tn2h$9bg$1@is.intellij.net...
> What says the tooltip for the red squiggles?
>
> Gabriel Lozano-Moran schrieb:
>> I installed 0.0.9.2 but unfortunately I still have the same problem as
>> you can see in the screenshot, maybe I am doing something wrong?
>>  
>>  
>> "Stefan Lieser" <stefan@lieser-online.de
>> <mailto:stefan@lieser-online.de>> wrote in message
>> news:g2tjk9$c1a$1@is.intellij.net...
>>  > Hello Gabriel,
>>   >
>>  > this is fixed in build 0.9.2 which you can download from
>>  > http://nhplugin.lieser-online.de/
>>  >
>>  >
>>  > Regards,
>>  > Stefan Lieser
>>  > --
>>  > http://lieser-online.de
>>  >
>>  > Gabriel Lozano-Moran schrieb:
>>  >> Hello Stefan
>>   >>
>>  >> I saw that in the mapping file it will highlight type="String"
>> saying that
>>  >> the type could not be resolved. This could be fixed by specifying
>>   >> type="System.String" but what if you want to specify the NHibernate
>> data
>>  >> types as mentioned in the documentation on
>>  >>
>> http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property?
>>  >>
>>  >> Cheers
>>  >>
>>  >> Gabriel Lozano-Moran
>>  >>
>>  >> "Stefan Lieser" <stefan@lieser-online.de
>> <mailto:stefan@lieser-online.de>> wrote in message
>>  >> news:483B0B75.9040303@lieser-online.de...
>>  >>> Version 1.0 alpha 1 of the ReSharper NHibernate plugin is released.
>> Please
>>   >>> see http://www.lieser-online.de/blog/?p=84 for details and download.
>>   >>>
>>  >>>
>>  >>> Regards,
>>  >>> Stefan Lieser
>>   >>> --
>>  >>> http://www.lieser-online.de
>>  >>
>>  >> ]]>



Attachment(s):
Reopen mapping files.png
0

Hi Gabriel,

global analysis results are cached. So if you disable any plugin that
adds errors to the global analysis the files are not re-analyzed until
you reopen or change them.

JetBrains: on disabling a plugin you may reanalyze all files for which
the plugin subscribes (which of course is a bit difficult because you
only support simple file extensions like .xml and not .hbm.xml). But I
think this is a rarely needed use case.


Regards,
Stefan Lieser

Gabriel Lozano-Moran schrieb:

After reopening the mapping files one by one they disappear from the
Errors in Solution window, strange. In this screenshot I opened all the
mapping files one by one except for SizeBE.hbm.xml and as you can see
they all disappeared from the Errors in Solution window except for
SizeBE.hbm.xml:


"Gabriel Lozano-Moran" <gabriel@lozano-moran.name
<mailto:gabriel@lozano-moran.name>> wrote in message
news:g2to6l$t70$1@is.intellij.net...
It says:

Type "String" could not be resolved. I have also noticed that even if
the plugin is disabled that these errors still count as an error in the
solution, the only difference is that ReSharper will not highlight them
but you can still can navigate these errors with <Shift><Alt><PgUp> and
<Shift><Alt><PgDown> (see the screenshot). This could be a bug in
ReSharper...



Cheers


Gabriel Lozano-Moran



"Stefan Lieser" <stefan@lieser-online.de
<mailto:stefan@lieser-online.de>> wrote in message
news:g2tn2h$9bg$1@is.intellij.net...
> What says the tooltip for the red squiggles?
>
> Gabriel Lozano-Moran schrieb:
>> I installed 0.0.9.2 but unfortunately I still have the same problem as
>> you can see in the screenshot, maybe I am doing something wrong?
>>
>>
>> "Stefan Lieser" <stefan@lieser-online.de
<mailto:stefan@lieser-online.de>
>> <mailto:stefan@lieser-online.de>> wrote in message
>> news:g2tjk9$c1a$1@is.intellij.net...
>> > Hello Gabriel,
>> >
>> > this is fixed in build 0.9.2 which you can download from
>> > http://nhplugin.lieser-online.de/
>> >
>> >
>> > Regards,
>> > Stefan Lieser
>> > --
>> > http://lieser-online.de
>> >
>> > Gabriel Lozano-Moran schrieb:
>> >> Hello Stefan
>> >>
>> >> I saw that in the mapping file it will highlight type="String"
>> saying that
>> >> the type could not be resolved. This could be fixed by specifying
>> >> type="System.String" but what if you want to specify the NHibernate
>> data
>> >> types as mentioned in the documentation on
>> >>
>>
http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property?
>> >>
>> >> Cheers
>> >>
>> >> Gabriel Lozano-Moran
>> >>
>> >> "Stefan Lieser" <stefan@lieser-online.de
<mailto:stefan@lieser-online.de>
>> <mailto:stefan@lieser-online.de>> wrote in message
>> >> news:483B0B75.9040303@lieser-online.de...
>> >>> Version 1.0 alpha 1 of the ReSharper NHibernate plugin is
released.
>> Please
>> >>> see http://www.lieser-online.de/blog/?p=84 for details and
download.
>> >>>
>> >>>
>> >>> Regards,
>> >>> Stefan Lieser
>> >>> --
>> >>> http://www.lieser-online.de
>> >>
>> >>

0

Even after clicking the button "Reanalyze Files with Errors" you will still
see the mapping files in the Errors in Solution window.

"Stefan Lieser" <stefan@lieser-online.de> wrote in message
news:g2tovd$bul$1@is.intellij.net...

Hi Gabriel,

>

global analysis results are cached. So if you disable any plugin that adds
errors to the global analysis the files are not re-analyzed until you
reopen or change them.

>

JetBrains: on disabling a plugin you may reanalyze all files for which the
plugin subscribes (which of course is a bit difficult because you only
support simple file extensions like .xml and not .hbm.xml). But I think
this is a rarely needed use case.

>
>

Regards,
Stefan Lieser

>

Gabriel Lozano-Moran schrieb:

>> After reopening the mapping files one by one they disappear from the
>> Errors in Solution window, strange. In this screenshot I opened all the
>> mapping files one by one except for SizeBE.hbm.xml and as you can see
>> they all disappeared from the Errors in Solution window except for
>> SizeBE.hbm.xml:
>> "Gabriel Lozano-Moran" > > wrote in message >> news:g2to6l$t70$1@is.intellij.net... >> It says: >> >> Type "String" could not be resolved. I have also noticed that even if the >> plugin is disabled that these errors still count as an error in the >> solution, the only difference is that ReSharper will not highlight them >> but you can still can navigate these errors with and >> (see the screenshot). This could be a bug in >> ReSharper... >> >> >> >> Cheers >> >> >> Gabriel Lozano-Moran >> >> >> >> "Stefan Lieser" > > wrote in message >> news:g2tn2h$9bg$1@is.intellij.net... >> > What says the tooltip for the red squiggles? >> > >> > Gabriel Lozano-Moran schrieb: >> >> I installed 0.0.9.2 but unfortunately I still have the same problem >> as >> >> you can see in the screenshot, maybe I am doing something wrong? >> >> >> >> "Stefan Lieser" > >> >> > wrote in message >> >> news:g2tjk9$c1a$1@is.intellij.net... >> >> > Hello Gabriel, >> >> > >> >> > this is fixed in build 0.9.2 which you can download from >> >> > http://nhplugin.lieser-online.de/ >> >> > >> >> > >> >> > Regards, >> >> > Stefan Lieser >> >> > -- >> >> > http://lieser-online.de >> >> > >> >> > Gabriel Lozano-Moran schrieb: >> >> >> Hello Stefan >> >> >> >> >> >> I saw that in the mapping file it will highlight type="String" >> >> saying that >> >> >> the type could not be resolved. This could be fixed by specifying >> >> >> type="System.String" but what if you want to specify the >> NHibernate >> >> data >> >> >> types as mentioned in the documentation on >> >> >> >> >> >> http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-declaration-property? >> >> >> >> >> >> Cheers >> >> >> >> >> >> Gabriel Lozano-Moran >> >> >> >> >> >> "Stefan Lieser" > >> >> > wrote in message >> >> >> news:483B0B75.9040303@lieser-online.de... >> >> >>> Version 1.0 alpha 1 of the ReSharper NHibernate plugin is >> released. >> >> Please >> >> >>> see http://www.lieser-online.de/blog/?p=84 for details and >> download. >> >> >>> >> >> >>> >> >> >>> Regards, >> >> >>> Stefan Lieser >> >> >>> -- >> >> >>> http://www.lieser-online.de >> >> >> >> >> >>]]>


0

Please sign in to leave a comment.