mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-23 16:23:52 +02:00
Turn off use of the PDOM for open declarations, for now...
This commit is contained in:
parent
c5adedd369
commit
276c7dbb16
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ public class OpenDeclarationsAction extends SelectionParseAction implements IUpd
|
||||||
|
|
||||||
if (project instanceof ICProject) {
|
if (project instanceof ICProject) {
|
||||||
IProject p = ((ICProject)project).getProject();
|
IProject p = ((ICProject)project).getProject();
|
||||||
IPDOM pdom = PDOM.getPDOM(p);
|
IPDOM pdom = null; //PDOM.getPDOM(p);
|
||||||
if (pdom != null)
|
if (pdom != null)
|
||||||
tu = CDOM.getInstance().getASTService().getTranslationUnit(
|
tu = CDOM.getInstance().getASTService().getTranslationUnit(
|
||||||
input.getStorage(),
|
input.getStorage(),
|
||||||
|
@ -125,7 +125,7 @@ public class OpenDeclarationsAction extends SelectionParseAction implements IUpd
|
||||||
IWorkingCopy workingCopy = (IWorkingCopy)fEditor.getInputCElement();
|
IWorkingCopy workingCopy = (IWorkingCopy)fEditor.getInputCElement();
|
||||||
IFile resourceFile = (IFile)workingCopy.getResource();
|
IFile resourceFile = (IFile)workingCopy.getResource();
|
||||||
project = new CProject(null, resourceFile.getProject());
|
project = new CProject(null, resourceFile.getProject());
|
||||||
IPDOM pdom = PDOM.getPDOM(resourceFile.getProject());
|
IPDOM pdom = null; //PDOM.getPDOM(resourceFile.getProject());
|
||||||
try {
|
try {
|
||||||
if (pdom != null)
|
if (pdom != null)
|
||||||
tu = CDOM.getInstance().getASTService().getTranslationUnit(
|
tu = CDOM.getInstance().getASTService().getTranslationUnit(
|
||||||
|
|
Loading…
Add table
Reference in a new issue