Jump to content
  • 0

(Archived) copy paste from Xcode to evernote


cjjoy1980

Idea

Hi

When I try to copy code snippets from xcode into evernote, the code does not retain the alignment and syntax. It works fine copying code from

visual studio but not with xcode.

Please let me if there is a way to copy code form xcode to evernote maintaining proper syntax

Thanks

Joy

Link to comment

5 replies to this idea

Recommended Posts

No still I see the formatting getting bad. All the tabspaces is not retained on evernote. After i did cmd-c and cmd-v.

Code see in my xcode :



int main()
{

char line[100];
int found =0;
while (getline(line,100) > 0) {
printf("input string is %s\n",line);
if (strindex(line,pattern) >=0) {
printf("input is %s\n",line);
} else {
printf("sting does not match\n");
}
}

}



cmd + c and cmd + v on evernote.


int main()
{

char line[100];
int found =0;
while (getline(line,100) > 0) {
printf("input string is %s\n",line);
if (strindex(line,pattern) >=0) {
printf("input is %s\n",line);
} else {
printf("sting does not match\n");
}
}

}

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...