VS 2012 Editor: extended source-switch ignored - revisited

VS 2012 Editor: extended source-switch ignored - revisited

This is a reopening of the thread "VS 2012 Editor: extended source-switch ignored": please notice that multiple projects in the solution are crucial to reproduce this errornous behaviour.

The VS2012 editor seems to ignore the "extended source" option of the FORTRAN-project (neither is there any global VS option for the FORTRAN-source-files): the syntax-highlightning makes everything green (i.e. commented) after the 72-column, even if I use /extend_source:132.

I just tested the extended-sourec-switch again and it seems that the problem only arises when there are multiple projects in the solution. I added a screen-shot: both IF-projects (Console2 and Lib1) have /extend_source:132 set but only "Source1.for" (from Console2) is shown correctly (just to be clear: compilation with /extend_source:132 always works, it's just the display that's wrong)

AnexoTamanho
Download vs2012.png82.04 KB
6 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

You didn't give me your projects, so I can't be sure of what you're seeing. When I try it, though, it works correctly - see attachment. It does require that the /extend_source:132 option be set in both projects and that you have closed and reopened the source file since setting the property.

Anexos: 

AnexoTamanho
Download capture.png44.22 KB
Steve - Intel Developer Support

Hi Steve,

I've created a new solution, that shows the errornous highlightning again: when I open Lib2->Source1.for I get 72-column-highlightning

Interesting is that highlightning for the files in the projects Console3 and Lib1 is correct. So it may has something to do that Lib2 comes after a MSVC-C++ project in the solution file.

Tobias

Anexos: 

AnexoTamanho
Download lib2-source1.png58.7 KB
Download console3.zip14.71 KB

Yes, that does seem to be the key. I'll report that to the developers. Thanks - and this is another demonstration why screenshots or paraphrases alone are inadequate to describe problems. Issue ID is DPD200246078.

Steve - Intel Developer Support

Great & Thanks

Tobias

This has been fixed for an update later this year.

Steve - Intel Developer Support

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!