Configure vscode file associations, use hpp instead of h

daktil_thumb_popravljen
Fred Sundvik 2017-07-02 21:46:35 +03:00 committed by Jack Humbert
parent 631c09e976
commit 67f722c9c8
11 changed files with 17 additions and 11 deletions

View File

@ -4,5 +4,11 @@
"files.exclude": { "files.exclude": {
"**/.build": true, "**/.build": true,
"**/*.hex": true "**/*.hex": true
},
"files.associations": {
"*.h": "c",
"*.c": "c",
"*.cpp": "cpp",
"*.hpp": "cpp"
} }
} }

View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "test_common.h" #include "test_common.hpp"
using testing::_; using testing::_;
using testing::Return; using testing::Return;

View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "test_common.h" #include "test_common.hpp"
#include "time.h" #include "time.h"
using testing::InSequence; using testing::InSequence;

View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "test_common.h" #include "test_common.hpp"
#include "action_tapping.h" #include "action_tapping.h"
using testing::_; using testing::_;

View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "keyboard_report_util.h" #include "keyboard_report_util.hpp"
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
using namespace testing; using namespace testing;

View File

@ -18,7 +18,7 @@
#include "gmock/gmock.h" #include "gmock/gmock.h"
#include "quantum.h" #include "quantum.h"
#include "test_driver.h" #include "test_driver.hpp"
#include "test_matrix.h" #include "test_matrix.h"
#include "keyboard_report_util.h" #include "keyboard_report_util.hpp"
#include "test_fixture.h" #include "test_fixture.hpp"

View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "test_driver.h" #include "test_driver.hpp"
TestDriver* TestDriver::m_this = nullptr; TestDriver* TestDriver::m_this = nullptr;

View File

@ -20,7 +20,7 @@
#include "gmock/gmock.h" #include "gmock/gmock.h"
#include <stdint.h> #include <stdint.h>
#include "host.h" #include "host.h"
#include "keyboard_report_util.h" #include "keyboard_report_util.hpp"
class TestDriver { class TestDriver {

View File

@ -1,6 +1,6 @@
#include "test_fixture.h" #include "test_fixture.hpp"
#include "gmock/gmock.h" #include "gmock/gmock.h"
#include "test_driver.h" #include "test_driver.hpp"
#include "test_matrix.h" #include "test_matrix.h"
#include "keyboard.h" #include "keyboard.h"
#include "action.h" #include "action.h"