Skip to content

[WIP] Revive project Part 2: new SDK #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 100 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
ebc71ba
Separation, multiple targets, new SDK
Jul 11, 2022
f1efa4e
IWYU complete async with build pipeline
Jul 14, 2022
eb8b3ab
Refactored format includes
Jul 14, 2022
51f3181
buildable proto
Jul 14, 2022
7e15d1a
Functional downloader have 2 fix IWYU
Jul 14, 2022
2f2986c
fixed loader
Jul 15, 2022
bae27be
Restored all functionality
Jul 15, 2022
25dafd3
Cleanup, ready for merge
Jul 15, 2022
7ed7513
updated readme
Jul 15, 2022
a8c52bb
version
Jul 15, 2022
0cb73ee
fix for property value
Jul 15, 2022
9780175
Fixed substitution
Jul 16, 2022
026b03f
added formatting option after IWYU
Jul 19, 2022
c41b8c3
added selection IWYU for project context menu
Jul 20, 2022
dd0ff4d
fixed IWYU for files
Jul 21, 2022
23fb4fc
fixed visibility
Jul 28, 2022
6850554
added include minimizer, fixed the Uri resolution for numerous subpro…
Jul 28, 2022
aa629b2
all IWYUs are now downloading application
Jul 28, 2022
e7c9971
fixed multiple selection IWYU
Jul 29, 2022
ffa8a90
Added parser and final precise mode for includes and fwd decls, added…
Aug 3, 2022
e267b81
empty namespace removal done
Aug 4, 2022
032d8ca
fixed file parse, tested on real project
Aug 5, 2022
dc3be30
little underscore fix
Aug 5, 2022
19b9042
cleanup
Aug 5, 2022
2d61e82
Create main.yml
Agrael1 Aug 5, 2022
dd288dc
Update main.yml
Agrael1 Aug 5, 2022
db055fe
output window renamed
Aug 5, 2022
924bc53
Update main.yml
Agrael1 Aug 5, 2022
51607de
Create vs-publish.json
Agrael1 Aug 6, 2022
9d41c9f
Update README.md
Agrael1 Aug 7, 2022
7816a6d
Update README.md
Agrael1 Aug 7, 2022
fc13338
ready for publish
Aug 7, 2022
bc32d64
little fixes to the .md
Aug 7, 2022
6ed81e2
version revert
Aug 7, 2022
aed190a
Merge branch 'master' into Workflow
Agrael1 Aug 7, 2022
8595edb
[release] first release
Agrael1 Aug 7, 2022
54bfa40
[release] fixed pipeline
Agrael1 Aug 8, 2022
054bf77
[release] split artifacts
Agrael1 Aug 8, 2022
0d60af7
[release] fixes for pipeline
Aug 8, 2022
e5ce216
fixed schema
Agrael1 Aug 8, 2022
c0aa2b8
pipeline fix
Agrael1 Aug 8, 2022
a0abb81
new formatter, using more efficient parser, further decrease of DTE
Aug 21, 2022
7f35ab1
Merge branch 'master' of https://github.com/Agrael1/IncludeToolbox
Aug 21, 2022
b54e215
bad habits
Aug 21, 2022
c37b308
tests will be later as I remove DTE dependencies and make better classes
Aug 21, 2022
4ee5072
removed tests because of dependency resolution inconsistensies
Aug 21, 2022
a96b6b4
quick version fix
Aug 21, 2022
e9fa3e5
newline fixes
Aug 21, 2022
be2ff26
Update main.yml
Agrael1 Aug 21, 2022
16c619b
)
Agrael1 Aug 21, 2022
4ba03f8
[release] release with new feature
Agrael1 Aug 21, 2022
18e60ab
Update main.yml
Agrael1 Aug 21, 2022
4349a29
[release] final touches
Agrael1 Aug 21, 2022
cc54709
fixed internal name
Agrael1 Aug 21, 2022
e2c3270
tag short
Aug 21, 2022
1810d52
[release] pipeline fix
Agrael1 Aug 21, 2022
576dc21
[release] vsix schema
Aug 21, 2022
bdeadd1
Merge branch 'master' of https://github.com/Agrael1/IncludeToolbox
Aug 21, 2022
cd0b00a
[release] fixed readme
Agrael1 Aug 21, 2022
7d286b3
moved Header span to utilities, added additional ReadOnlySpan version
Aug 22, 2022
377d31e
Merge branch 'master' of https://github.com/Agrael1/IncludeToolbox
Aug 22, 2022
c92b364
[release]Refactored trial and error
Aug 25, 2022
f6e3b36
fixed version
Aug 25, 2022
b0671ad
fixes to pipeline
Aug 25, 2022
7d2c3c6
Added property for default msvc mappings
Aug 26, 2022
d11a58b
fixed images
Aug 26, 2022
7594c7c
Fixed IWYU deadly parser bugs (no newline on the end of the file)
Aug 26, 2022
d27cdbd
fixed NSTracker
Aug 26, 2022
a43bb6e
[release] fixes to the IWYU parser
Agrael1 Aug 26, 2022
7095c34
Added preproc support with pragma once
Aug 26, 2022
85a7912
Fixed formatting and IWYU
Aug 27, 2022
95d7fb3
cleanup and changes
Aug 27, 2022
05054e4
missing icon
Aug 27, 2022
4c5dcb0
[release] Bugfixes and Precise feature
Agrael1 Aug 27, 2022
6215e29
Enabled Trial and Error removal for header files, wrote a little guide
Aug 27, 2022
75a6d40
[release] TAEIR for headers
Agrael1 Aug 27, 2022
97231a0
Added precompile header file support for Trial and Error
Sep 1, 2022
3bdf23c
[release] pch for headers Trial and Error fix
Agrael1 Sep 1, 2022
9e774f0
reinsertion bug
Sep 1, 2022
dd90a7e
[release]bugfix
Agrael1 Sep 1, 2022
0b3aaf7
fixed IWYU throw on empty addition
Sep 1, 2022
498d43c
[release] fixed IWYU
Agrael1 Sep 1, 2022
2b7185c
[release] removed VS Publish step, publishing will be manual, updated…
Sep 7, 2022
90f3b54
Updated readme with links, reverted VSIX ID for VS2019
Sep 7, 2022
39c2dd6
[release] include graph beta
Sep 28, 2022
1380bea
[release] fix structs
Sep 28, 2022
17052c5
[release] added relative path extension
Sep 29, 2022
c40d8e1
[release] forgot to save
Sep 29, 2022
2de2496
[release] another attempt at publishing
Sep 30, 2022
b1c77b9
[release] CI/CD pipeline
Oct 4, 2022
6a4d0bc
[release] filetypes
Oct 4, 2022
993fd67
fixed UE NMake include format
Dec 2, 2022
a19fc6f
Merge pull request #10 from Agrael1/FixFormatUE
Agrael1 Dec 2, 2022
00af536
[release] fix for UE
Dec 2, 2022
5a3e2d3
Merge branch 'master' of https://github.com/Agrael1/IncludeToolbox
Dec 2, 2022
5c35249
[release] workflow
Dec 2, 2022
183957a
[release] compile header tool
Dec 2, 2022
f358f95
[release] fix mapper for empty headers
Dec 5, 2022
56b781e
Fix spaces in path.
dako98 Dec 4, 2023
8787f2b
Merge pull request #19 from dako98/master
Agrael1 Jan 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Build"

on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
build:
outputs:
version: ${{ steps.vsix_version.outputs.version-number }}
name: Build
runs-on: windows-2022
env:
Configuration: Release
DeployExtension: False
Vsix2022ManifestPath: IncludeToolbox2022\source.extension.vsixmanifest
Vsix2019ManifestPath: IncludeToolbox2019\source.extension.vsixmanifest
VsixManifestSourcePath: IncludeToolbox2022\source.extension.cs

steps:
- uses: actions/checkout@v2

- name: Setup .NET build dependencies
uses: timheuer/bootstrap-dotnet@v1
with:
nuget: 'false'
sdk: 'false'
msbuild: 'true'

- name: Increment VSIX version
id: vsix_version
uses: timheuer/vsix-version-stamp@v1
with:
manifest-file: ${{ env.Vsix2022ManifestPath }}
vsix-token-source-file: ${{ env.VsixManifestSourcePath }}

- name: Sync 2019 version
uses: cezarypiatek/[email protected]
with:
version: ${{ steps.vsix_version.outputs.version-number }}
vsix-manifest-file: ${{ env.Vsix2019ManifestPath }}

- name: Build
run: msbuild /v:m -restore /p:OutDir=\_built

- name: Setup test
uses: darenm/Setup-VSTest@v1

- name: Test
run: vstest.console.exe \_built\*Tests.dll

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}.vsix
path: /_built/**/*.vsix

publish:
if: ${{ (github.event_name == 'push' && contains(github.event.head_commit.message, '[release]')) || github.event_name == 'workflow_dispatch' }}
needs: build
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Download Package artifact
uses: actions/download-artifact@v2
with:
name: ${{ github.event.repository.name }}.vsix

- name: Upload 2022 to Open VSIX
uses: timheuer/openvsixpublish@v1
with:
vsix-file: ${{ github.event.repository.name }}2022.vsix

- name: Upload 2019 to Open VSIX
uses: timheuer/openvsixpublish@v1
with:
vsix-file: ${{ github.event.repository.name }}2019.vsix

- name: Tag and Release
id: tag_release
uses: softprops/action-gh-release@v1
with:
body: Release ${{ needs.build.outputs.version }}
tag_name: ${{ needs.build.outputs.version }}
files: |
**/*.vsix

- name: Publish 2022 extension to Marketplace
uses: cezarypiatek/[email protected]
with:
extension-file: '${{ github.event.repository.name }}2022.vsix'
publish-manifest-file: 'vs-publish2022.json'
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}

- name: Publish 2019 extension to Marketplace
uses: cezarypiatek/[email protected]
with:
extension-file: '${{ github.event.repository.name }}2019.vsix'
publish-manifest-file: 'vs-publish2019.json'
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}
6 changes: 6 additions & 0 deletions IncludeToolBox.lutconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<LUTConfig Version="1.0">
<Repository />
<ParallelBuilds>true</ParallelBuilds>
<ParallelTestRuns>true</ParallelTestRuns>
<TestCaseTimeout>180000</TestCaseTimeout>
</LUTConfig>
63 changes: 52 additions & 11 deletions IncludeToolBox.sln
Original file line number Diff line number Diff line change
@@ -1,26 +1,67 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.156
VisualStudioVersion = 16.0.32630.194
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IncludeToolbox", "IncludeToolbox\IncludeToolbox.csproj", "{F9E250C6-A7AD-4888-8F17-6876736B8DCF}"
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "IncludeToolboxShared", "IncludeToolboxShared\IncludeToolboxShared.shproj", "{C50C4863-6200-4E51-837A-31FEBC09C8B2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{F577F5D2-5E3C-43BE-9030-AF2609A0917A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IncludeToolbox2022", "IncludeToolbox2022\IncludeToolbox2022.csproj", "{7D29CECE-07D3-4417-9D63-1362852F18F3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IncludeToolbox2019", "IncludeToolbox2019\IncludeToolbox2019.csproj", "{A81A5332-6A20-4F3B-90B4-E55985B9CF59}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "Tests\Tests\Tests.csproj", "{34631D93-26A2-4682-8C7C-B2042CD7D872}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
IncludeToolboxShared\IncludeToolboxShared.projitems*{7d29cece-07d3-4417-9d63-1362852f18f3}*SharedItemsImports = 4
IncludeToolboxShared\IncludeToolboxShared.projitems*{a81a5332-6a20-4f3b-90b4-e55985b9cf59}*SharedItemsImports = 4
IncludeToolboxShared\IncludeToolboxShared.projitems*{c50c4863-6200-4e51-837a-31febc09c8b2}*SharedItemsImports = 13
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|arm64 = Debug|arm64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|arm64 = Release|arm64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F9E250C6-A7AD-4888-8F17-6876736B8DCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F9E250C6-A7AD-4888-8F17-6876736B8DCF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F9E250C6-A7AD-4888-8F17-6876736B8DCF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F9E250C6-A7AD-4888-8F17-6876736B8DCF}.Release|Any CPU.Build.0 = Release|Any CPU
{F577F5D2-5E3C-43BE-9030-AF2609A0917A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F577F5D2-5E3C-43BE-9030-AF2609A0917A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F577F5D2-5E3C-43BE-9030-AF2609A0917A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F577F5D2-5E3C-43BE-9030-AF2609A0917A}.Release|Any CPU.Build.0 = Release|Any CPU
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Debug|arm64.ActiveCfg = Debug|Any CPU
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Debug|arm64.Build.0 = Debug|Any CPU
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Debug|x86.ActiveCfg = Debug|x86
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Debug|x86.Build.0 = Debug|x86
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Release|Any CPU.Build.0 = Release|Any CPU
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Release|arm64.ActiveCfg = Release|Any CPU
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Release|arm64.Build.0 = Release|Any CPU
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Release|x86.ActiveCfg = Release|x86
{7D29CECE-07D3-4417-9D63-1362852F18F3}.Release|x86.Build.0 = Release|x86
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Debug|arm64.ActiveCfg = Debug|Any CPU
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Debug|arm64.Build.0 = Debug|Any CPU
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Debug|x86.ActiveCfg = Debug|x86
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Debug|x86.Build.0 = Debug|x86
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Release|Any CPU.Build.0 = Release|Any CPU
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Release|arm64.ActiveCfg = Release|Any CPU
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Release|arm64.Build.0 = Release|Any CPU
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Release|x86.ActiveCfg = Release|x86
{A81A5332-6A20-4F3B-90B4-E55985B9CF59}.Release|x86.Build.0 = Release|x86
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Debug|Any CPU.Build.0 = Debug|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Debug|arm64.ActiveCfg = Debug|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Debug|arm64.Build.0 = Debug|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Debug|x86.ActiveCfg = Debug|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Debug|x86.Build.0 = Debug|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Release|Any CPU.ActiveCfg = Release|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Release|Any CPU.Build.0 = Release|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Release|arm64.ActiveCfg = Release|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Release|arm64.Build.0 = Release|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Release|x86.ActiveCfg = Release|Any CPU
{34631D93-26A2-4682-8C7C-B2042CD7D872}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
3 changes: 0 additions & 3 deletions IncludeToolbox.vsix

This file was deleted.

74 changes: 0 additions & 74 deletions IncludeToolbox/Commands/CommandBase.cs

This file was deleted.

27 changes: 0 additions & 27 deletions IncludeToolbox/Commands/CommandSetGuids.cs

This file was deleted.

88 changes: 0 additions & 88 deletions IncludeToolbox/Commands/FormatIncludes.cs

This file was deleted.

Loading