{"id":214,"date":"2013-01-15T13:47:13","date_gmt":"2013-01-15T13:47:13","guid":{"rendered":"http:\/\/www.electronic-products-development.com\/?p=214"},"modified":"2023-09-14T13:40:09","modified_gmt":"2023-09-14T12:40:09","slug":"mplab-x-configuration","status":"publish","type":"post","link":"https:\/\/ibex.tech\/embedded\/microchip\/mplab-x\/mplab-x-configuration","title":{"rendered":"MPLAB X Configuration"},"content":{"rendered":"\n<p>These are things we change from the default setup to make MPLABX behave the way we like&#8230;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Turning Off right margin red line<\/h4>\n\n\n\n<p> Menu &gt; Tools &gt; Options &gt; Editor &gt; Formatting <\/p>\n\n\n\n<p>Language: All Languages<\/p>\n\n\n\n<p>Right margin: 0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Turning Off Expand Tabs To Spaces setting<br><\/h4>\n\n\n\n<p>Menu > Tools > Options > Editor > Formatting <\/p>\n\n\n\n<p>Language: All Languages<br>Category: Tabs&nbsp;And Indents<br>Expand tabs to spaces: OFF<br>Number of spaces per indent: 4<br>Press apply and now select languages C and C++ and make sure its been copied in<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Changing Toggle Bookmark to CTRL+K<br><\/h4>\n\n\n\n<p>Menu &gt; Tools &gt; Options &gt; Keymap &gt; Toogle Bookmark, then select Add Alternative <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Changing To Uppercase to SHIFT+CTRL+U<br> <\/h4>\n\n\n\n<p>Menu &gt; Tools &gt; Options &gt;&nbsp;Keymap&nbsp;&gt;&nbsp;To Uppercase, then select Add Alternative <\/p>\n\n\n\n<p>Menu &gt; Tools &gt; Options &gt; Keymap &gt; To Lowercase, then select Add Alternative <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Speeding Up Compiling<br><\/h4>\n\n\n\n<p>\nMPLAB X compiling speed can be terrible even on top spec machines. &nbsp;There is one thing you can do on a multi core machine to speed it up though:\n<\/p>\n\n\n\n<p>Tools &gt; Options &gt; Embedded &gt; Project Options &gt; Use Parallel Make = On <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Making The Editor Work As Well&nbsp;As Possible (how we like it!) <\/h4>\n\n\n\n<p>Tools &gt;&nbsp;Options &gt; Editor &gt; General &gt; Camel Case Behaviour = Off<\/p>\n\n\n\n<p>Tools &gt;&nbsp;Options &gt; Editor &gt;&nbsp;Code Completion &gt; Insert Single Proposals Automatically = Off <\/p>\n\n\n\n<p>Tools &gt;&nbsp;Options &gt; Editor &gt;&nbsp;Code Completion &gt; Insert Closing Brackets Automatically = Off <\/p>\n\n\n\n<p>Tools &gt; Options &gt; Editor &gt; Formatting &gt; Language:&nbsp;C&nbsp;&gt;&nbsp;Other (section) &gt; Add Leading Star In Comments = Off (do for &#8220;C&#8221;, &#8220;C++&#8221; and &#8220;C\/C++ Header&#8221;) <\/p>\n\n\n\n<p> Tools &gt; Options &gt; Editor &gt; Formatting &gt; Language:&nbsp;C&nbsp;&gt;&nbsp;Indents (section) &gt; Indent Case Statements = Off (do for &#8220;C&#8221;, &#8220;C++&#8221;)  <\/p>\n\n\n\n<p>Tools &gt; Options &gt; Fonts &amp; Colors &gt; Highlighting &gt; Indent guide lines = Inherited (Foreground and Background)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Stopping accidental mouse wheel zoom<\/h4>\n\n\n\n<p>Menu &gt; Tools &gt; Options &gt; Keymap &gt; Zoom Text In \/ Zoom Text Out<\/p>\n\n\n\n<p>Select Clear (instead of the default \u201cAlt+MOUSE_WHEEL_UP\u201d\/DOWN).<\/p>\n\n\n\n<p>Now select edit and set the key combination to: CTRL + SHIFT + Up\/Down (you can get the UP and DOWN keys by pressing CTRL+SHIFT and then selecting the drop down for the box)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\n&nbsp;<br>\n<\/h4>\n","protected":false},"excerpt":{"rendered":"<p>These are things we change from the default setup to make MPLABX behave the way we like&#8230; Turning Off right margin red line Menu &gt; Tools &gt; Options &gt; Editor &gt; Formatting Language: All Languages Right margin: 0 Turning Off Expand Tabs To Spaces setting Menu > Tools > Options > Editor > Formatting Language: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,38],"tags":[],"class_list":["post-214","post","type-post","status-publish","format-standard","hentry","category-mplab-x","category-setting-up-on-a-new-machine"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":32,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/214\/revisions"}],"predecessor-version":[{"id":1378,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/214\/revisions\/1378"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/categories?post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/tags?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}