This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Disable C++ parsing of matlab-code

Tags: None
(comma "," separated)
peje
Registered Member
Posts
9
Karma
0
OS

Disable C++ parsing of matlab-code

Mon Jun 26, 2017 12:00 pm
Hi,

if I load a matlab-script in kdevelop it's parsed as C++-code and generaters a ton of warnings.
Se image. All the markings in the editor window is distracting. How do I disable this?
Document is marked as Tools->Mode->Scientific->Matlab

Image
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Can you try checking the mime type of that file on command line?
Code: Select all
kimetypefinder reformat_flux.m


I'm working on the KDevelop IDE.
tcanabrava
Registered Member
Posts
1
Karma
0
typo:
kmimetypefinder5, not kimetypefinder
peje
Registered Member
Posts
9
Karma
0
OS
Code: Select all
$ kmimetypefinder5 reformat_flux.m
text/x-matlab
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Very strange. Then KDevelop shouldn't treat it as C++ either ...
I don't know. Maybe put a bug report on bugs.kde.org.


I'm working on the KDevelop IDE.
peje
Registered Member
Posts
9
Karma
0
OS
Bug filed:
Bug #381709


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]