diff --git a/DRAMSys/library/resources/resources.pri b/DRAMSys/library/resources/resources.pri index cd77f0c8..9f28a12f 100644 --- a/DRAMSys/library/resources/resources.pri +++ b/DRAMSys/library/resources/resources.pri @@ -1,5 +1,5 @@ # Relative paths to "DRAMSys/library" because this file is included in -# "DRAMSys/library/simulator.pro" +# "DRAMSys/library/library.pro" # Simulation Files OTHER_FILES += resources/simulations/ddr3-example.xml diff --git a/DRAMSys/tests/tests.pri b/DRAMSys/tests/tests.pri index 1d1f41bf..562e6a7a 100644 --- a/DRAMSys/tests/tests.pri +++ b/DRAMSys/tests/tests.pri @@ -1,5 +1,5 @@ # Relative paths to "DRAMSys" because this file is included in -# "DRAMSys/dram.vp.system.pro" +# "DRAMSys/DRAMSys.pro" OTHER_FILES += tests/start.pl diff --git a/coding-style.md b/coding-style.md index 869c03f9..72cbb01a 100644 --- a/coding-style.md +++ b/coding-style.md @@ -51,6 +51,16 @@ describe the preferred coding style for them in separate. + How to use vim plugins +## Using Astyle in Qt Creator + ++ Select **Help** > **About Plugins** > **C++** > **Beautifier** to enable the plugin. + ++ Restart Qt Creator to be able to use the plugin (close Qt Creator and open it again). + ++ Select **Tools** > **Options** > **Beautifier** to specify settings for beautifying files. + ++ Select the **Enable auto format on file save** check box to automatically beautify files when you save them. + ## References @@ -60,3 +70,6 @@ describe the preferred coding style for them in separate. [PEP 8 -- Style Guide for Python Code](https://www.python.org/dev/peps/pep-0008/) +[Qt Documentation - Beautifying Source Code](http://doc.qt.io/qtcreator/creator-beautifier.html) + +[Artistic Style 3.1 - A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI, Objective‑C, C#, and Java Source Code](http://astyle.sourceforge.net/astyle.html) diff --git a/utils/install.sh b/utils/install.sh index fbc9ab47..3caa266a 100755 --- a/utils/install.sh +++ b/utils/install.sh @@ -55,3 +55,4 @@ sudo apt-get -y install libqt5widgets5 sudo apt-get -y install libqt5core5a sudo apt-get -y install qtcreator sudo apt-get -y install qt5-default +sudo apt-get -y install astyle