mirror of https://gitlab.com/basile.b/dexed.git
fix #179 - Disable internal handling of DUB excludedSourcesFiles
This commit is contained in:
parent
493b1fbdc5
commit
5e9c0f206b
|
@ -712,8 +712,6 @@ var
|
||||||
confs: TJSONArray;
|
confs: TJSONArray;
|
||||||
begin
|
begin
|
||||||
result := nil;
|
result := nil;
|
||||||
if fConfigIx = 0 then
|
|
||||||
exit;
|
|
||||||
if fJSON.findArray('configurations', confs) and (fConfigIx < confs.Count) then
|
if fJSON.findArray('configurations', confs) and (fConfigIx < confs.Count) then
|
||||||
result := confs.Objects[fConfigIx];
|
result := confs.Objects[fConfigIx];
|
||||||
end;
|
end;
|
||||||
|
@ -786,7 +784,7 @@ var
|
||||||
item: TJSONData;
|
item: TJSONData;
|
||||||
conf: TJSONObject;
|
conf: TJSONObject;
|
||||||
arr: TJSONArray;
|
arr: TJSONArray;
|
||||||
i, j: integer;
|
i{, j}: integer;
|
||||||
procedure getExclusion(from: TJSONObject);
|
procedure getExclusion(from: TJSONObject);
|
||||||
var
|
var
|
||||||
i: integer;
|
i: integer;
|
||||||
|
@ -821,7 +819,7 @@ begin
|
||||||
end;
|
end;
|
||||||
var
|
var
|
||||||
pth: string;
|
pth: string;
|
||||||
glb: TRegExpr;
|
//glb: TRegExpr;
|
||||||
begin
|
begin
|
||||||
fSrcs.Clear;
|
fSrcs.Clear;
|
||||||
if not assigned(fJSON) then
|
if not assigned(fJSON) then
|
||||||
|
@ -863,8 +861,9 @@ begin
|
||||||
if conf.findArray('sourceFiles', arr) then for i := 0 to arr.Count-1 do
|
if conf.findArray('sourceFiles', arr) then for i := 0 to arr.Count-1 do
|
||||||
tryAddRelOrAbsFile(arr.Strings[i]);
|
tryAddRelOrAbsFile(arr.Strings[i]);
|
||||||
end;
|
end;
|
||||||
// exclusions
|
// exclusions : not managed anymore because of other IDE features that rely
|
||||||
lst.Clear;
|
// on the full list (scan TODOs, <CPFS>, search in project, etc)
|
||||||
|
{lst.Clear;
|
||||||
getExclusion(fJSON);
|
getExclusion(fJSON);
|
||||||
conf := getCurrentCustomConfig;
|
conf := getCurrentCustomConfig;
|
||||||
if conf.isNotNil then
|
if conf.isNotNil then
|
||||||
|
@ -888,7 +887,7 @@ begin
|
||||||
finally
|
finally
|
||||||
glb.Free;
|
glb.Free;
|
||||||
end;
|
end;
|
||||||
end;
|
end;}
|
||||||
finally
|
finally
|
||||||
lst.Free;
|
lst.Free;
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue