Author Topic: How to create new include file and add it to project?  (Read 1198 times)

anta40

  • Member
  • ***
  • Posts: 293
How to create new include file and add it to project?
« on: May 11, 2016, 12:51:44 AM »
Let's say I've just created project.
Then I want to create an include file, and have it automaticallya dded to the project.

How to do that?
On the Project Explorer, I selected Include and do a right click.
Add File? Doesn't work, because it assumes that the include file is already exist before.
Add Include/Header File? Doesn't work to. It assumes that you want to use MASM32 includes.

Or maybe I misunderstand something  :redface:

K_F

  • Member
  • *****
  • Posts: 1290
  • Anybody out there?
Re: How to create new include file and add it to project?
« Reply #1 on: May 11, 2016, 09:40:10 PM »
It is a bit manual.. but no other way at the mo..

Create a new file with an .inc extension, place one letter/character in it - then save it (move it) in the Include folder that the IDE uses (ie: ../Masm/Include)
Then add it in with the project explorer window that's on the RHS of the IDE ..  (R-click -> Add Include Files).

You could create the file with wordpad (etc..) and save it with an .inc extension in the include folder.
OR
Create it as a module within Easycode, save it, then change the extension to .inc and move it to the include folder, then add it in the Project Explorer.

Maybe Ramon might build in a facility for this in the later versions.
 :biggrin:
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

rsala

  • Moderator
  • Member
  • *****
  • Posts: 242
    • Easy Code
Re: How to create new include file and add it to project?
« Reply #2 on: May 12, 2016, 05:09:08 AM »
Hi anta40,

K_F is right, adding a new file is a bit manual at the moment. However, I will try to add that option for next versions of EC 2.

Regards!

EC coder

anta40

  • Member
  • ***
  • Posts: 293
Re: How to create new include file and add it to project?
« Reply #3 on: May 12, 2016, 02:28:39 PM »
Ah, so this is not implemented yet.
OK, I understand. Not a big deal, anyway :redface: :t

rsala

  • Moderator
  • Member
  • *****
  • Posts: 242
    • Easy Code
Re: How to create new include file and add it to project?
« Reply #4 on: May 13, 2016, 05:28:46 AM »
Thanks for your patience anta40, I will implement it soon. :t

EC coder