Add Build Solution (MSBuild) with live output
find_sln locates a .sln in the working folder; build_sln locates MSBuild via vswhere and builds the solution's default config (compiles the UE game module for Unreal projects), streaming output as build-log events. A build overlay shows the live log with error/warning coloring and a status. Wired into Tools (Ctrl+B) and the Working-folder right-click menu when a .sln is found. New strings translated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
21
src/App.css
21
src/App.css
@ -362,6 +362,27 @@ body.resizing{cursor:col-resize!important;user-select:none}
|
||||
.xfer-bar{margin-top:12px;height:6px;border-radius:4px;background:var(--panel-3);overflow:hidden;position:relative}
|
||||
.xfer-bar span{position:absolute;top:0;left:-35%;width:35%;height:100%;border-radius:4px;
|
||||
background:linear-gradient(90deg,transparent,var(--accent),transparent);animation:shim 1.1s ease-in-out infinite}
|
||||
|
||||
/* MSBuild output overlay */
|
||||
.build{width:660px;max-width:calc(100vw - 40px);height:min(70vh,560px);display:flex;flex-direction:column;
|
||||
background:var(--elevated);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;animation:updin .3s ease}
|
||||
.build-head{flex:0 0 auto;display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--border-soft)}
|
||||
.build-ic{width:34px;height:34px;flex:0 0 auto;border-radius:10px;display:grid;place-items:center;font-weight:700;font-size:16px;background:var(--panel-3);color:var(--muted)}
|
||||
.build-ic.run{color:var(--accent-2)}
|
||||
.build-ic.ok{background:rgba(62,207,142,.15);color:var(--add)}
|
||||
.build-ic.fail{background:rgba(242,99,126,.15);color:var(--del)}
|
||||
.build-ic svg{width:18px;height:18px}
|
||||
.build-ttl{display:flex;flex-direction:column;gap:1px;min-width:0}
|
||||
.build-ttl b{font-size:14px}
|
||||
.build-ttl span{font-size:11.5px;color:var(--faint);font-family:var(--mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
||||
.build-x{margin-left:auto;width:28px;height:28px;flex:0 0 auto;border:1px solid var(--border);background:var(--panel);color:var(--muted);border-radius:8px;cursor:pointer;display:grid;place-items:center}
|
||||
.build-x:hover:not(:disabled){color:var(--txt);border-color:var(--accent)}
|
||||
.build-x:disabled{opacity:.4;cursor:not-allowed}
|
||||
.build-body{flex:1;overflow:auto;min-height:0;padding:10px 14px;font-family:var(--mono);font-size:11.5px;line-height:1.6;background:var(--stage-bg)}
|
||||
.build-ln{white-space:pre-wrap;word-break:break-word;color:var(--muted)}
|
||||
.build-ln.err{color:var(--del)}
|
||||
.build-ln.warn{color:var(--edit)}
|
||||
.build-ln.ok{color:var(--add);font-weight:600}
|
||||
.tzone.push .ic{color:var(--add)}
|
||||
.tzone.push .val{color:var(--add)}
|
||||
.commit .row{display:flex;gap:10px;align-items:center}
|
||||
|
||||
Reference in New Issue
Block a user