You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
TTP# 331398 - EDITOR: Logspam when opening Visual Studio Deferring a VS file open request used to use a deferred command to wait until VS had finished opening before opening the requested files, however, this command was essentially simulating a Tick, as if the command was not yet ready to be processed it was simply deferred again, leading to spammed output. Rather than do this, I've added a Tick function which will attempt to open the entire list of pending files as a single call, rather than try each file individually like the command would. ReviewedBy Thomas.Sarkanen, Chris.Wood, Max.Preussner [CL 2058815 by Jamie Dale in Main branch]
20 lines
752 B
C++
20 lines
752 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "ISourceCodeAccessor.h"
|
|
|
|
class FDefaultSourceCodeAccessor : public ISourceCodeAccessor
|
|
{
|
|
public:
|
|
/** ISourceCodeAccessor implementation */
|
|
virtual bool CanAccessSourceCode() const OVERRIDE;
|
|
virtual FName GetFName() const OVERRIDE;
|
|
virtual FText GetNameText() const OVERRIDE;
|
|
virtual FText GetDescriptionText() const OVERRIDE;
|
|
virtual bool OpenSolution() OVERRIDE;
|
|
virtual bool OpenFileAtLine(const FString& FullPath, int32 LineNumber, int32 ColumnNumber = 0) OVERRIDE;
|
|
virtual bool OpenSourceFiles(const TArray<FString>& AbsoluteSourcePaths) OVERRIDE;
|
|
virtual bool SaveAllOpenDocuments() const OVERRIDE;
|
|
virtual void Tick(const float DeltaTime) OVERRIDE;
|
|
}; |