Skip to content

Commit 98dae7d

Browse files
committed
Remove unused header and update readme
1 parent b1fa37e commit 98dae7d

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ This plugin is meant to display a JSON string in a Treeview. It also marks the e
77

88

99
## Instructions:
10-
1. Paste the file `NPPJSONViewer.dll` to Notepad++ `plugins\NPPJSONViewer` folder
11-
2. Restart Notepad++ and verify that the plugin appears under the Plugins menu
12-
3. Open a document containing a JSON string (or paste in some JSON text)
13-
4. Select JSON fragment and navigate to plugins/JSON Viewer/show JSON Viewer or press "Ctrl+Alt+Shift+J"
14-
5. Voila!! If the JSON is valid, it will be shown in a Treeview
10+
1. Paste the file `NPPJSONViewer.dll` to Notepad++ `plugins\NPPJSONViewer` folder.
11+
2. Restart Notepad++ and verify that the plugin appears under the Plugins menu.
12+
3. Open a document containing a JSON string (or paste in some JSON text).
13+
4. Select JSON fragment and navigate to plugins/JSON Viewer/show JSON Viewer or press <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>J</kbd>.
14+
5. Voila!! If the JSON is valid, it will be shown in a Treeview.
1515

1616

1717
## Latest Updates:

src/UtilityLib/StringHelper.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#include "StringHelper.h"
21
#include <regex>
32

3+
#include "StringHelper.h"
4+
45
std::string StringHelper::ReplaceAll(const std::string &str, const std::string &search, const std::string &replace)
56
{
67
return std::regex_replace(str, std::regex(search), replace);

src/UtilityLib/Utility.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#pragma once
22

3+
#include <optional>
34
#include <string>
45
#include <vector>
56
#include <Windows.h>
6-
#include <optional>
77

88
class CUtility
99
{

tests/UnitTest/JsonHandlerTest.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#include <gtest/gtest.h>
22

3-
#include <vector>
43
#include <string>
5-
#include <memory>
64

75
#include "JsonHandler.h"
86

0 commit comments

Comments
 (0)