Skip to content

Commit

Permalink
fix build issue and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuhaotc committed Mar 27, 2020
1 parent 9461f27 commit 6835448
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 14 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ Run server and doing the searching
#### Test

Main Page
<div><img src="https://raw.githubusercontent.com/qiuhaotc/CodeIndex/master/doc/WebServer.png"/></div>

![Main Page](https://raw.githubusercontent.com/qiuhaotc/CodeIndex/master/doc/WebServer.png)

Details Page
<div><img src="https://raw.githubusercontent.com/qiuhaotc/CodeIndex/master/doc/WebServer-Details.png"/></div>

![Details Page](https://raw.githubusercontent.com/qiuhaotc/CodeIndex/master/doc/WebServer-Details.png)

### Run with docker

Expand All @@ -32,3 +34,17 @@ Details Page
docker pull qiuhaotc/codeindex
docker run -d --name codeindex -p 8080:80 -v "You index folder":/luceneindex -v "You code folder":/monitorfolder -v "your logs folder":/app/Logs -e CodeIndex__MonitorFolderRealPath="You real folder path" --restart=always qiuhaotc/codeindex
```

### Search Extension For Visual Studio

Download Url [Code Index Extension](https://marketplace.visualstudio.com/items?itemName=qiuhaotc.CodeIndexExtension)

Open Search Window

![Open Search Window](https://raw.githubusercontent.com/qiuhaotc/CodeIndex/master/doc/VSExtension-1.png)

Code Index Search Window

![Code Index Search Window](https://raw.githubusercontent.com/qiuhaotc/CodeIndex/master/doc/VSExtension-2.png)

Config the service url to your own service and doing the searching
Binary file added doc/VSExtension-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/VSExtension-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/WebServer-Details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/WebServer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'VisualStudioExtensionRelease|AnyCPU'">
<OutputPath>bin\Release\</OutputPath>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -128,10 +136,6 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Resources\Style.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
3 changes: 0 additions & 3 deletions src/CodeIndex.VisualStudioExtension/Resources/Style.xaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="CodeIndex.VisualStudioExtension.3fee47f7-831c-4577-8b21-f6505d9699f5" Version="1.0" Language="en-US" Publisher="笑问苍天" />
<DisplayName>CodeIndex.VisualStudioExtension</DisplayName>
<Description xml:space="preserve">Code Index Search Extension For Visual Studio</Description>
<Identity Id="CodeIndex.VisualStudioExtension.3fee47f7-831c-4577-8b21-f6505d9699f5" Version="0.1" Language="en-US" Publisher="qiuhaotc" />
<DisplayName>CodeI Index Search</DisplayName>
<Description xml:space="preserve">Code index search extension for visual studio
CodeIndex: a fast code searching tools based on Lucene.Net
More details see: https://github.com/qiuhaotc/CodeIndex</Description>
<MoreInfo>https://github.com/qiuhaotc/CodeIndex</MoreInfo>
<Tags>Code full-text search</Tags>
<Preview>true</Preview>
Expand Down
16 changes: 14 additions & 2 deletions src/CodeIndex.sln
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "doc", "doc", "{B0519424-9D66-4622-AE1A-B175AB6FEB9D}"
ProjectSection(SolutionItems) = preProject
..\README.md = ..\README.md
..\doc\VSExtension-1.png = ..\doc\VSExtension-1.png
..\doc\VSExtension-2.png = ..\doc\VSExtension-2.png
..\doc\WebServer-Details.png = ..\doc\WebServer-Details.png
..\doc\WebServer.png = ..\doc\WebServer.png
EndProjectSection
Expand All @@ -32,44 +34,54 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
VisualStudioExtensionRelease|Any CPU = VisualStudioExtensionRelease|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5532620B-E050-4322-9648-C426133BAED8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5532620B-E050-4322-9648-C426133BAED8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5532620B-E050-4322-9648-C426133BAED8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5532620B-E050-4322-9648-C426133BAED8}.Release|Any CPU.Build.0 = Release|Any CPU
{5532620B-E050-4322-9648-C426133BAED8}.VisualStudioExtensionRelease|Any CPU.ActiveCfg = Release|Any CPU
{CD4F91D2-5DC7-4323-A532-20BAD3C48305}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD4F91D2-5DC7-4323-A532-20BAD3C48305}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD4F91D2-5DC7-4323-A532-20BAD3C48305}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD4F91D2-5DC7-4323-A532-20BAD3C48305}.Release|Any CPU.Build.0 = Release|Any CPU
{CD4F91D2-5DC7-4323-A532-20BAD3C48305}.VisualStudioExtensionRelease|Any CPU.ActiveCfg = Release|Any CPU
{131A96A0-CC06-4785-8BA8-B693932BF366}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{131A96A0-CC06-4785-8BA8-B693932BF366}.Debug|Any CPU.Build.0 = Debug|Any CPU
{131A96A0-CC06-4785-8BA8-B693932BF366}.Release|Any CPU.ActiveCfg = Release|Any CPU
{131A96A0-CC06-4785-8BA8-B693932BF366}.Release|Any CPU.Build.0 = Release|Any CPU
{131A96A0-CC06-4785-8BA8-B693932BF366}.VisualStudioExtensionRelease|Any CPU.ActiveCfg = Release|Any CPU
{1EA9D97D-DA58-4D51-9DC9-7203686DD9C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1EA9D97D-DA58-4D51-9DC9-7203686DD9C1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1EA9D97D-DA58-4D51-9DC9-7203686DD9C1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1EA9D97D-DA58-4D51-9DC9-7203686DD9C1}.Release|Any CPU.Build.0 = Release|Any CPU
{1EA9D97D-DA58-4D51-9DC9-7203686DD9C1}.VisualStudioExtensionRelease|Any CPU.ActiveCfg = Release|Any CPU
{89461D8B-5365-4DAA-9984-1B820C4FF963}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{89461D8B-5365-4DAA-9984-1B820C4FF963}.Debug|Any CPU.Build.0 = Debug|Any CPU
{89461D8B-5365-4DAA-9984-1B820C4FF963}.Release|Any CPU.ActiveCfg = Release|Any CPU
{89461D8B-5365-4DAA-9984-1B820C4FF963}.Release|Any CPU.Build.0 = Release|Any CPU
{89461D8B-5365-4DAA-9984-1B820C4FF963}.VisualStudioExtensionRelease|Any CPU.ActiveCfg = Release|Any CPU
{2C824491-6907-4E80-AFFF-DE9C85288312}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2C824491-6907-4E80-AFFF-DE9C85288312}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2C824491-6907-4E80-AFFF-DE9C85288312}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2C824491-6907-4E80-AFFF-DE9C85288312}.Release|Any CPU.Build.0 = Release|Any CPU
{2C824491-6907-4E80-AFFF-DE9C85288312}.VisualStudioExtensionRelease|Any CPU.ActiveCfg = Release|Any CPU
{A0D9FDC9-8E6B-4F38-BE81-550343E37119}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A0D9FDC9-8E6B-4F38-BE81-550343E37119}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A0D9FDC9-8E6B-4F38-BE81-550343E37119}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A0D9FDC9-8E6B-4F38-BE81-550343E37119}.Release|Any CPU.Build.0 = Release|Any CPU
{A0D9FDC9-8E6B-4F38-BE81-550343E37119}.VisualStudioExtensionRelease|Any CPU.ActiveCfg = Release|Any CPU
{BE1F4C0F-F4FF-43B0-B8F2-2C1F9B446059}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BE1F4C0F-F4FF-43B0-B8F2-2C1F9B446059}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE1F4C0F-F4FF-43B0-B8F2-2C1F9B446059}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BE1F4C0F-F4FF-43B0-B8F2-2C1F9B446059}.Release|Any CPU.Build.0 = Release|Any CPU
{BE1F4C0F-F4FF-43B0-B8F2-2C1F9B446059}.VisualStudioExtensionRelease|Any CPU.ActiveCfg = Release|Any CPU
{ED1D3026-8695-4B9B-9FA9-2D68E28EE850}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ED1D3026-8695-4B9B-9FA9-2D68E28EE850}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ED1D3026-8695-4B9B-9FA9-2D68E28EE850}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ED1D3026-8695-4B9B-9FA9-2D68E28EE850}.Release|Any CPU.Build.0 = Release|Any CPU
{ED1D3026-8695-4B9B-9FA9-2D68E28EE850}.Release|Any CPU.ActiveCfg = VisualStudioExtensionRelease|Any CPU
{ED1D3026-8695-4B9B-9FA9-2D68E28EE850}.VisualStudioExtensionRelease|Any CPU.ActiveCfg = VisualStudioExtensionRelease|Any CPU
{ED1D3026-8695-4B9B-9FA9-2D68E28EE850}.VisualStudioExtensionRelease|Any CPU.Build.0 = VisualStudioExtensionRelease|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit 6835448

Please sign in to comment.